[PATCH] Tiny esthetic changes to Documentation/laptop-mode.txt

From: Jesper Juhl
Date: Mon Dec 06 2004 - 17:36:56 EST



Hi,

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@xxxxxx>

diff -u linux-2.6.10-rc3-bk2-orig/Documentation/laptop-mode.txt linux-2.6.10-rc3-bk2/Documentation/laptop-mode.txt
--- linux-2.6.10-rc3-bk2-orig/Documentation/laptop-mode.txt 2004-10-18 23:54:55.000000000 +0200
+++ linux-2.6.10-rc3-bk2/Documentation/laptop-mode.txt 2004-12-06 23:40:25.000000000 +0100
@@ -3,7 +3,7 @@

Document Author: Bart Samwel (bart@xxxxxxxxx)
Date created: January 2, 2004
-Last modified: July 10, 2004
+Last modified: December 06, 2004

Introduction
------------
@@ -33,7 +33,7 @@
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 @@
exit(0);
}

-int main(int ac, char **av)
+int main(int argc, char **argv)
{
int fd;
char *disk = 0;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/