diff --git a/config.mk b/config.mk index 2b57b49..e0dd468 100644 --- a/config.mk +++ b/config.mk @@ -1,4 +1,4 @@ -VERSION = 1.1 +VERSION = 1.2 PREFIX = MANPREFIX = $(PREFIX)/share/man diff --git a/ichirou.c b/ichirou.c index 5ba48d1..0fdb876 100644 --- a/ichirou.c +++ b/ichirou.c @@ -9,8 +9,8 @@ #include #include -#define LEN(x) (sizeof (x) / sizeof *(x)) -#define TIMEO 30 +#define LEN(x) (sizeof (x) / sizeof *(x)) +#define TIMEO 30 static void sigpoweroff(void); static void sigreap(void); @@ -159,6 +159,7 @@ static void spawnwait(char *const argv[]) { _exit(1); case -1: perror("fork"); + break; default: waitpid(chpid, NULL, WUNTRACED); }