From: Randy Dunlap Fix C source file in Doc/laptop-mode.txt to compile. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton --- Documentation/laptop-mode.txt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff -puN Documentation/laptop-mode.txt~docs-laptop-modetxt-source-file-build Documentation/laptop-mode.txt --- devel/Documentation/laptop-mode.txt~docs-laptop-modetxt-source-file-build 2006-04-05 01:10:30.000000000 -0700 +++ devel-akpm/Documentation/laptop-mode.txt 2006-04-05 01:10:30.000000000 -0700 @@ -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(); _