summaryrefslogtreecommitdiffstats
path: root/isys/vio.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-08 03:00:53 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-08 03:00:53 +0000
commit459119c94529602d08de465b7ebfa4871d328081 (patch)
tree369a7eb643938d6d51ef6f2d0c46561e61dcc0ae /isys/vio.c
parent390977d3ee0ebc010168ce04573f63ae15458718 (diff)
downloadanaconda-459119c94529602d08de465b7ebfa4871d328081.tar.gz
anaconda-459119c94529602d08de465b7ebfa4871d328081.tar.xz
anaconda-459119c94529602d08de465b7ebfa4871d328081.zip
massive merge from taroon branch. changes are all over the place, but a
summary of looking through the diff is * clean up warnings, we build with -Wall -Werror here too * product.img stuff * max logical partitions enforcement * 1 TB max fs size * ethtool stuff * autopart in kickstart * driver disk fixes * RHEL upgrade stuff * network driver disks * variant pkgorder/tree splitting
Diffstat (limited to 'isys/vio.c')
-rw-r--r--isys/vio.c2
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;