diff options
Diffstat (limited to 'isys/vio.c')
-rw-r--r-- | isys/vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/vio.c b/isys/vio.c index be4062315..8917c455f 100644 --- a/isys/vio.c +++ b/isys/vio.c @@ -200,7 +200,7 @@ int isVioConsole(void) { isviocons = 0; start = buf; while (start && *start) { - if (sscanf(start, "%s %s", &driver, &device) == 2) { + if (sscanf(start, "%s %s", (char *) &driver, (char *) &device) == 2) { if (!strcmp(driver, "vioconsole") && !strcmp(device, "/dev/tty")) { isviocons = 1; break; |