aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logread.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r--sysklogd/logread.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index ace246fc4..1753ce324 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -39,10 +39,9 @@ struct globals {
39#define SMrup (G.SMrup) 39#define SMrup (G.SMrup)
40#define SMrdn (G.SMrdn) 40#define SMrdn (G.SMrdn)
41#define shbuf (G.shbuf) 41#define shbuf (G.shbuf)
42#define INIT_G() \ 42#define INIT_G() do { \
43 do { \ 43 memcpy(SMrup, init_sem, sizeof(init_sem)); \
44 memcpy(SMrup, init_sem, sizeof(init_sem)); \ 44} while (0)
45 } while (0)
46 45
47static void error_exit(const char *str) ATTRIBUTE_NORETURN; 46static void error_exit(const char *str) ATTRIBUTE_NORETURN;
48static void error_exit(const char *str) 47static void error_exit(const char *str)