Silence stupid warnings when building sbase-box
This commit is contained in:
parent
4a97e0b526
commit
de4a36957e
2
chroot.c
2
chroot.c
|
@ -45,4 +45,6 @@ main(int argc, char *argv[])
|
||||||
savederrno = errno;
|
savederrno = errno;
|
||||||
weprintf("execvp %s:", p);
|
weprintf("execvp %s:", p);
|
||||||
_exit(savederrno == ENOENT ? 127 : 126);
|
_exit(savederrno == ENOENT ? 127 : 126);
|
||||||
|
/* unreachable */
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
2
nohup.c
2
nohup.c
|
@ -48,4 +48,6 @@ main(int argc, char *argv[])
|
||||||
execvp(argv[0], &argv[0]);
|
execvp(argv[0], &argv[0]);
|
||||||
enprintf(errno == ENOENT ? Error : Found, "exec %s:", argv[0]);
|
enprintf(errno == ENOENT ? Error : Found, "exec %s:", argv[0]);
|
||||||
_exit(Error);
|
_exit(Error);
|
||||||
|
/* unreachable */
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user