start-stop-daemon: fix compiler warning

This commit is contained in:
William Hubbs 2018-12-28 09:31:38 -06:00
parent 7e95d924c9
commit 1ff3a37c60

View File

@ -492,7 +492,7 @@ int main(int argc, char **argv)
startas = optarg;
break;
case 'w':
if (sscanf(optarg, "%d", &start_wait) != 1)
if (sscanf(optarg, "%u", &start_wait) != 1)
eerrorx("%s: `%s' not a number",
applet, optarg);
break;