--- linux-atm-2.5.1.orig/src/sigd/atmsigd.c	2004-09-25 13:25:48.000000000 +0200
+++ linux-atm-2.5.1/src/sigd/atmsigd.c	2013-08-15 21:22:05.226477574 +0200
@@ -517,7 +517,7 @@ int main(int argc,char **argv)
 	    exit(0);
 	}
     }
-    (void) on_exit(trace_on_exit,NULL);
+    (void) atexit(trace_on_exit);
     poll_loop();
     close_all();
     for (sig = entities; sig; sig = sig->next) stop_saal(&sig->saal);
