From 0bf37ae4c45a0463671a50b443e1bafec730dd4d Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 26 Aug 2014 13:49:35 +0200 Subject: [PATCH] init/do_mounts: better syntax description Specify hex device number unambiquously. Signed-off-by: Pavel Machek Signed-off-by: Jiri Kosina --- init/do_mounts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index 82f22885c87e..9b3565c41502 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -182,7 +182,8 @@ done: /* * Convert a name into device number. We accept the following variants: * - * 1) device number in hexadecimal represents itself + * 1) device number in hexadecimal represents itself + * no leading 0x, for example b302. * 2) /dev/nfs represents Root_NFS (0xff) * 3) /dev/ represents the device number of disk * 4) /dev/ represents the device number -- 2.20.1