VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / serial / suncore.c
index 93909ed..5fc4a62 100644 (file)
@@ -90,13 +90,13 @@ no_options:
        cflag = CREAD | HUPCL | CLOCAL;
 
        s = mode;
-       baud = simple_strtoul(s, 0, 0);
+       baud = simple_strtoul(s, NULL, 0);
        s = strchr(s, ',');
-       bits = simple_strtoul(++s, 0, 0);
+       bits = simple_strtoul(++s, NULL, 0);
        s = strchr(s, ',');
        parity = *(++s);
        s = strchr(s, ',');
-       stop = simple_strtoul(++s, 0, 0);
+       stop = simple_strtoul(++s, NULL, 0);
        s = strchr(s, ',');
        /* XXX handshake is not handled here. */