mirror of
https://github.com/troglobit/finit.git
synced 2026-11-19 19:40:50 +00:00
Fix minor build warning for --disable-inetd
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
88a6864fd4
commit
c0b74c5e53
1 file changed
+1
-1
+1
-1
@@ -844,8 +844,8 @@ static void parse_cmdline_args(svc_t *svc, char *cmd)
|
|||||||
*/
|
*/
|
||||||
int service_register(int type, char *cfg, struct rlimit rlimit[], char *file)
|
int service_register(int type, char *cfg, struct rlimit rlimit[], char *file)
|
||||||
{
|
{
|
||||||
char id_str[MAX_ID_LEN];
|
|
||||||
#ifdef INETD_ENABLED
|
#ifdef INETD_ENABLED
|
||||||
|
char id_str[MAX_ID_LEN];
|
||||||
int forking = 0;
|
int forking = 0;
|
||||||
#endif
|
#endif
|
||||||
int levels = 0;
|
int levels = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user