]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sulogin: fix compiler warning
authorKarel Zak <kzak@redhat.com>
Tue, 9 Jul 2013 12:32:05 +0000 (14:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Jul 2013 09:15:13 +0000 (11:15 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/sulogin-consoles.c

index a131e797428fb8bb5218204e7f611e9591fa2aab..07af33a6de4af25772b327925fc86ac2c7e7a338 100644 (file)
@@ -719,7 +719,8 @@ console:
 
 fallback:
        if (fallback >= 0) {
-               const char *name, *n;
+               const char *name;
+               char *n;
                struct console *console;
 
                if (device && *device != '\0')