summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJesper Juhl <juhl-lkml@dif.dk>2006-01-11 01:48:08 +0100
committerAdrian Bunk <bunk@r063144.stusta.swh.mhn.de>2006-01-11 01:48:08 +0100
commitffd59daceb7db5f7c54f095c5529cec45222c1f1 (patch)
treecbc7d359179c6cf66a4f1b0a425670cde67b425a /Documentation
parent210bb9560cb697c950e803d0fdaf9869efefed54 (diff)
downloadlwn-ffd59daceb7db5f7c54f095c5529cec45222c1f1.tar.gz
lwn-ffd59daceb7db5f7c54f095c5529cec45222c1f1.zip
Tiny esthetic changes to Documentation/laptop-mode.txt
Here's a tiny patch making a few esthetic changes to Documentation/laptop-mode.txt To me this patch makes sense, but feel free to disagree, I don't feel strongly about it at all. It changes a single URL to its strictly correct form (directories should end in /), and it makes the arguments to main in an included example program follow convention and be named argc and argv. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/laptop-mode.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/laptop-mode.txt b/Documentation/laptop-mode.txt
index dc4e810afdcd..f42e4c089356 100644
--- a/Documentation/laptop-mode.txt
+++ b/Documentation/laptop-mode.txt
@@ -3,7 +3,7 @@ How to conserve battery power using laptop-mode
Document Author: Bart Samwel (bart@samwel.tk)
Date created: January 2, 2004
-Last modified: July 10, 2004
+Last modified: December 06, 2004
Introduction
------------
@@ -33,7 +33,7 @@ or anything. Simply install all the files included in this document, and
laptop mode will automatically be started when you're on battery. For
your convenience, a tarball containing an installer can be downloaded at:
-http://www.xs4all.nl/~bsamwel/laptop_mode/tools
+http://www.xs4all.nl/~bsamwel/laptop_mode/tools/
To configure laptop mode, you need to edit the configuration file, which is
located in /etc/default/laptop-mode on Debian-based systems, or in
@@ -912,7 +912,7 @@ void usage()
exit(0);
}
-int main(int ac, char **av)
+int main(int argc, char **argv)
{
int fd;
char *disk = 0;