]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/laptop-mode.txt
[PATCH] i4l gigaset: move sysfs entry to tty class device
[linux-2.6-omap-h63xx.git] / Documentation / laptop-mode.txt
index b18e216759060ef792f3b62f4e0865f86dd60b06..5696e879449bca5c7353804d5fca069cd9926f46 100644 (file)
@@ -919,11 +919,11 @@ int main(int argc, char **argv)
     int settle_time = 60;
 
     /* Parse the simple command-line */
-    if (ac == 2)
-       disk = av[1];
-    else if (ac == 4) {
-       settle_time = atoi(av[2]);
-       disk = av[3];
+    if (argc == 2)
+       disk = argv[1];
+    else if (argc == 4) {
+       settle_time = atoi(argv[2]);
+       disk = argv[3];
     } else
        usage();