mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
logread: add forgotten INIT_G();
This commit is contained in:
parent
ff2b6d2185
commit
e85dbae389
@ -75,6 +75,8 @@ int logread_main(int argc, char **argv)
|
||||
int log_shmid; /* ipc shared memory id */
|
||||
smallint follow = getopt32(argv, "f");
|
||||
|
||||
INIT_G();
|
||||
|
||||
log_shmid = shmget(KEY_ID, 0, 0);
|
||||
if (log_shmid == -1)
|
||||
bb_perror_msg_and_die("can't find syslogd buffer");
|
||||
|
Loading…
Reference in New Issue
Block a user