diff options
author | Manuel Novoa III | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | Manuel Novoa III | 2003-03-19 09:13:01 +0000 |
commit | cad5364599eb5062d59e0c397ed638ddd61a8d5d (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /modutils/rmmod.c | |
parent | e01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff) | |
download | busybox-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip busybox-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz |
Major coreutils update.
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r-- | modutils/rmmod.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 0103d91..3154b30 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -48,11 +48,11 @@ extern int rmmod_main(int argc, char **argv) buf = xmalloc(bufsize = 256); while (nmod != pnmod) { if (delete_module(NULL)) - perror_msg_and_die("rmmod"); + bb_perror_msg_and_die("rmmod"); pnmod = nmod; /* 1 == QM_MODULES */ if (my_query_module(NULL, 1, &buf, &bufsize, &nmod)) { - perror_msg_and_die("QM_MODULES"); + bb_perror_msg_and_die("QM_MODULES"); } } #ifdef CONFIG_FEATURE_CLEAN_UP @@ -60,16 +60,16 @@ extern int rmmod_main(int argc, char **argv) #endif return EXIT_SUCCESS; default: - show_usage(); + bb_show_usage(); } } if (optind == argc) - show_usage(); + bb_show_usage(); for (n = optind; n < argc; n++) { if (delete_module(argv[n]) < 0) { - perror_msg("%s", argv[n]); + bb_perror_msg("%s", argv[n]); ret = EXIT_FAILURE; } } |