mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
Introduce strterm(), hard-add terminating '\0' at end of buffer
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
55c49a0bf0
commit
212083b922
3 files changed
+14
-6
No files matched your search
+1
-2
@@ -90,8 +90,7 @@ struct init_request {
|
||||
int cmd; /* What kind of request */
|
||||
int runlevel; /* Runlevel to change to */
|
||||
int sleeptime; /* Time between TERM and KILL */
|
||||
char data[367];
|
||||
char data_guard; /* Forced to '\0' by Finit */
|
||||
char data[368];
|
||||
};
|
||||
|
||||
extern int runlevel;
|
||||
|
||||
Reference in new issue
Block a user