Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c37bea1 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[PATCH] docs: laptop-mode.txt source file build



Fix C source file in Doc/laptop-mode.txt to compile.

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 56b146d3
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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();