summaryrefslogtreecommitdiffstats
path: root/mount/mount.c
diff options
context:
space:
mode:
authorKarel Zak2010-02-12 19:58:45 +0100
committerKarel Zak2010-02-12 19:58:45 +0100
commit4bc7b0e24d9560c7d58727f1d4d184df2c2ea884 (patch)
treed014a769f34dc6396ff2d5db7374f49213da9aee /mount/mount.c
parentcfdisk: set '[New]' as default item on menu for non allocated space instead o... (diff)
downloadkernel-qcow2-util-linux-4bc7b0e24d9560c7d58727f1d4d184df2c2ea884.tar.gz
kernel-qcow2-util-linux-4bc7b0e24d9560c7d58727f1d4d184df2c2ea884.tar.xz
kernel-qcow2-util-linux-4bc7b0e24d9560c7d58727f1d4d184df2c2ea884.zip
mount: advise users to use "modprobe", not "insmod"
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=562394 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount.c')
-rw-r--r--mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/mount.c b/mount/mount.c
index 6f93bc8a3..0f1fc5a78 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -1571,7 +1571,7 @@ mount_retry:
error (_("mount: %s is not a block device, and stat fails?"), spec);
else if (S_ISBLK(statbuf.st_mode))
error (_("mount: the kernel does not recognize %s as a block device\n"
- " (maybe `insmod driver'?)"), spec);
+ " (maybe `modprobe driver'?)"), spec);
else if (S_ISREG(statbuf.st_mode))
error (_("mount: %s is not a block device (maybe try `-o loop'?)"),
spec);