start-stop-daemon: fix gcc 7 warnings

This commit is contained in:
William Hubbs 2018-06-19 15:32:10 -05:00
parent c7e8f1133a
commit 04721ece03

View File

@ -386,6 +386,7 @@ int main(int argc, char **argv)
case 'c': /* --chuid <username>|<uid> */ case 'c': /* --chuid <username>|<uid> */
/* DEPRECATED */ /* DEPRECATED */
ewarn("WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead"); 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> */ case 'u': /* --user <username>|<uid> */
{ {
p = optarg; p = optarg;