diff options
author | Sam James <sam@gentoo.org> | 2022-03-31 07:35:42 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2022-05-08 14:56:26 -0500 |
commit | 026472ce5ee4303e8a1a8d791ef203deed166e0f (patch) | |
tree | 4d7e111b82ed78ffc500497a9ef3176980e8d9be /src/supervise-daemon | |
parent | e82baa17ca49b8dac03579fe71d28a7cdc95e955 (diff) |
supervise-daemon: fix -Wshadow
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'src/supervise-daemon')
-rw-r--r-- | src/supervise-daemon/supervise-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |