#include <sys/un.h>
#include <fcntl.h>
#include "klibc_fixups.h"
-#ifndef __KLIBC__
#include <sys/sysinfo.h>
-#endif
#include "list.h"
#include "udev.h"
return;
}
-static void sig_handler(int signum)
+__attribute__((regparm(0))) static void sig_handler(int signum)
{
int rc;
+
switch (signum) {
case SIGINT:
case SIGTERM:
goto do_write;
break;
default:
- dbg("unhandled signal");
+ dbg("unhandled signal %d", signum);
return;
}