projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b146d
)
[PATCH] docs: laptop-mode.txt source file build
author
Randy Dunlap
<rdunlap@xenotime.net>
Tue, 11 Apr 2006 05:54:21 +0000
(22:54 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:44 +0000
(06:18 -0700)
Fix C source file in Doc/laptop-mode.txt to compile.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/laptop-mode.txt
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/laptop-mode.txt
b/Documentation/laptop-mode.txt
index b18e216759060ef792f3b62f4e0865f86dd60b06..5696e879449bca5c7353804d5fca069cd9926f46 100644
(file)
--- 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 (ac == 2)
- disk = av[1];
- else if (ac == 4) {
- settle_time = atoi(av[2]);
- disk = av[3];
+ if (a
rg
c == 2)
+ disk = a
rg
v[1];
+ else if (a
rg
c == 4) {
+ settle_time = atoi(a
rg
v[2]);
+ disk = a
rg
v[3];
} else
usage();