modprobe: correct exitcode handling and error messages with respect to -q
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 17 Jun 2009 16:46:06 +0000 (18:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 17 Jun 2009 16:46:06 +0000 (18:46 +0200)
commitee47f6e44f1a33146e26c7410ade10a98f78ead1
tree0d86e43e6c6162dbf64f9bf01374abaffec3179b
parenta5bdbe10877e2e53aaba051eddfd5d47520657f5
modprobe: correct exitcode handling and error messages with respect to -q

function                                             old     new   delta
do_modprobe                                          319     339     +20
bb_delete_module                                      10      26     +16
moderror                                              62      71      +9
bb_init_module                                       112     119      +7
modprobe_main                                        488     494      +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 58/0)               Total: 58 bytes

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe.c
modutils/modutils.c
modutils/modutils.h