summaryrefslogtreecommitdiff
path: root/package/linux-atm/patches/patch-src_sigd_atmsigd_c
blob: 7eb31abf9c3ed9fb21c68b220f3b2f97bc10d309 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);