start-stop-daemon: fix compiler warning
This commit is contained in:
parent
7e95d924c9
commit
1ff3a37c60
@ -492,7 +492,7 @@ int main(int argc, char **argv)
|
|||||||
startas = optarg;
|
startas = optarg;
|
||||||
break;
|
break;
|
||||||
case 'w':
|
case 'w':
|
||||||
if (sscanf(optarg, "%d", &start_wait) != 1)
|
if (sscanf(optarg, "%u", &start_wait) != 1)
|
||||||
eerrorx("%s: `%s' not a number",
|
eerrorx("%s: `%s' not a number",
|
||||||
applet, optarg);
|
applet, optarg);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user