From cf93274663877cb4d722a23d8c418470eb90332a Mon Sep 17 00:00:00 2001 From: Tim Riker Date: Sat, 14 Dec 2002 01:58:59 +0000 Subject: rmmod -a removed modules recursively --- include/libbb.h | 2 ++ include/usage.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 5f437a95f..3523cc410 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -357,6 +357,8 @@ typedef struct { extern procps_status_t * procps_scan(int save_user_arg0); extern unsigned short compare_string_array(const char *string_array[], const char *key); +extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret); + typedef struct llist_s { char *data; struct llist_s *link; diff --git a/include/usage.h b/include/usage.h index 3b519e65d..16dd6fd78 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1722,7 +1722,7 @@ #define rmmod_full_usage \ "Unloads the specified kernel modules from the kernel.\n\n" \ "Options:\n" \ - "\t-a\tTry to remove all unused kernel modules." + "\t-a\tRemove all unused modules (recursively)" #define rmmod_example_usage \ "$ rmmod tulip\n" -- cgit v1.2.3