From 1ff3a37c60e89da31c5c06bb4edd184770c91923 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 28 Dec 2018 09:31:38 -0600 Subject: start-stop-daemon: fix compiler warning --- src/rc/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3