X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Documentation%2Flaptop-mode.txt;fp=Documentation%2Flaptop-mode.txt;h=b18e216759060ef792f3b62f4e0865f86dd60b06;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=5696e879449bca5c7353804d5fca069cd9926f46;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/Documentation/laptop-mode.txt b/Documentation/laptop-mode.txt index 5696e8794..b18e21675 100644 --- a/Documentation/laptop-mode.txt +++ b/Documentation/laptop-mode.txt @@ -919,11 +919,11 @@ int main(int argc, char **argv) int settle_time = 60; /* Parse the simple command-line */ - if (argc == 2) - disk = argv[1]; - else if (argc == 4) { - settle_time = atoi(argv[2]); - disk = argv[3]; + if (ac == 2) + disk = av[1]; + else if (ac == 4) { + settle_time = atoi(av[2]); + disk = av[3]; } else usage();