aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-28 09:31:38 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-28 09:31:38 -0600
commit1ff3a37c60e89da31c5c06bb4edd184770c91923 (patch)
treee65ee1f2355605589047dae47b1e283125ac7ee0 /src/rc
parent7e95d924c9067d9d643fc3b533f777ea7a5234d7 (diff)
start-stop-daemon: fix compiler warning
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index c59d3d5c..baa73216 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -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;