rmmod: fix bad error message
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 24 Oct 2015 02:17:04 +0000 (04:17 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 24 Oct 2015 02:17:04 +0000 (04:17 +0200)
commitcd13974b201972ffb605e243f63f674e95b99e5c
treecbc62c9de34aab6065d76074e4369903b98f679b
parent2e9a0662bce58b0fe838f7e1e03c35c4765ff3bc
rmmod: fix bad error message

    Before:

    ># busybox_old rmmod gtrhfhdfghdf
    rmmod: can't unload 'gtrhfhdfghdf': unknown symbol in module, or unknown parameter

    After:

    ># busybox rmmod gtrhfhdfghdf
    rmmod: can't unload module 'gtrhfhdfghdf': No such file or directory

function                                             old     new   delta
modprobe_main                                        726     721      -5
do_modprobe                                          599     590      -9
rmmod_main                                           187     169     -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-32)             Total: -32 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe.c
modutils/modutils.c
modutils/rmmod.c