From d75824f703748df816bbe8a0cef66d9005cfa4ac Mon Sep 17 00:00:00 2001 From: Jonas Jaguar <36363495+jonasjaguar@users.noreply.github.com> Date: Fri, 28 Aug 2020 22:07:59 +0200 Subject: [PATCH] small fixes --- config.mk | 2 +- ichirou.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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); }