chiark / gitweb /
[PATCH] udev - mention format string escape char in man page
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Thu, 15 Jan 2004 02:18:12 +0000 (18:18 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:16 +0000 (21:13 -0700)
If we want to pass any '%' down to a program, you need to ecape it by '%%',
otherwise we try to expand it with our own format char list.

udev.8

diff --git a/udev.8 b/udev.8
index c78fd4a32b6a2f3f43b974c0a7dcc5d86adcb1a3..1ca42982eaa07920201dbeb299a20e957b287379 100644 (file)
--- a/udev.8
+++ b/udev.8
@@ -201,6 +201,9 @@ field for the obvious reason.)
 Use the devfs style disk name for this device.
 For partitions, this will result in 'part%n'
 If this is not a partition, it will result in 'disc'.
+.TP
+.B %%
+The '%' char itself.
 .P
 .RI "A sample " udev.rules " might look like this:"
 .sp