aboutsummaryrefslogtreecommitdiff
path: root/src/rc/start-stop-daemon.c
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-06-19 15:32:10 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-06-19 15:32:10 -0500
commit04721ece03b15503aa220f60e7c6159d01ee75e1 (patch)
treefc0453768afbb22c717ad5f4f6586278198ce414 /src/rc/start-stop-daemon.c
parentc7e8f1133a42152cc293e6b637985f81bcf8b310 (diff)
start-stop-daemon: fix gcc 7 warnings
Diffstat (limited to 'src/rc/start-stop-daemon.c')
-rw-r--r--src/rc/start-stop-daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index fceb3058..a04a00ec 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -386,6 +386,7 @@ int main(int argc, char **argv)
case 'c': /* --chuid <username>|<uid> */
/* DEPRECATED */
ewarn("WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead");
+ /* falls through */
case 'u': /* --user <username>|<uid> */
{
p = optarg;