Skip to content

Commit 026472c

Browse files
thesamesamwilliamh
authored andcommitted
supervise-daemon: fix -Wshadow
Signed-off-by: Sam James <sam@gentoo.org>
1 parent e82baa1 commit 026472c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/supervise-daemon/supervise-daemon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ int main(int argc, char **argv)
809809
eerror("%s: invalid nice level `%s' (SSD_NICELEVEL)",
810810
applet, tmp);
811811
if ((tmp = getenv("SSD_IONICELEVEL"))) {
812-
int n = sscanf(tmp, "%d:%d", &ionicec, &ioniced);
812+
n = sscanf(tmp, "%d:%d", &ionicec, &ioniced);
813813
if (n != 1 && n != 2)
814814
eerror("%s: invalid ionice level `%s' (SSD_IONICELEVEL)",
815815
applet, tmp);

0 commit comments

Comments
 (0)