]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/laptop-mode.txt
[MTD] NAND: Fix ECC settings in CAFÉ controller driver.
[linux-2.6-omap-h63xx.git] / Documentation / laptop-mode.txt
index f42e4c089356cf4329b59b63da74386255d6f27b..c487186eb2b93ac9a0180561396470bce867e4b3 100644 (file)
@@ -152,7 +152,7 @@ loaded on demand while the application executes) and sequentially accessed data
 DO_REMOUNTS:
 
 The control script automatically remounts any mounted journaled filesystems
-with approriate commit interval options. When this option is set to 0, this
+with appropriate commit interval options. When this option is set to 0, this
 feature is disabled.
 
 DO_REMOUNT_NOATIME:
@@ -357,7 +357,7 @@ MAX_AGE=${MAX_AGE:-'600'}
 # Read-ahead, in kilobytes
 READAHEAD=${READAHEAD:-'4096'}
 
-# Shall we remount journaled fs. with appropiate commit interval? (1=yes)
+# Shall we remount journaled fs. with appropriate commit interval? (1=yes)
 DO_REMOUNTS=${DO_REMOUNTS:-'1'}
 
 # And shall we add the "noatime" option to that as well? (1=yes)
@@ -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();