From 026472ce5ee4303e8a1a8d791ef203deed166e0f Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 31 Mar 2022 07:35:42 +0100 Subject: supervise-daemon: fix -Wshadow Signed-off-by: Sam James --- src/supervise-daemon/supervise-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supervise-daemon/supervise-daemon.c b/src/supervise-daemon/supervise-daemon.c index a0576513..58946716 100644 --- a/src/supervise-daemon/supervise-daemon.c +++ b/src/supervise-daemon/supervise-daemon.c @@ -809,7 +809,7 @@ int main(int argc, char **argv) eerror("%s: invalid nice level `%s' (SSD_NICELEVEL)", applet, tmp); if ((tmp = getenv("SSD_IONICELEVEL"))) { - int n = sscanf(tmp, "%d:%d", &ionicec, &ioniced); + n = sscanf(tmp, "%d:%d", &ionicec, &ioniced); if (n != 1 && n != 2) eerror("%s: invalid ionice level `%s' (SSD_IONICELEVEL)", applet, tmp); -- cgit v1.2.3