diff options
Diffstat (limited to 'modutils/modutils.c')
| -rw-r--r-- | modutils/modutils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modutils/modutils.c b/modutils/modutils.c index 84300d931..ef4134af5 100644 --- a/modutils/modutils.c +++ b/modutils/modutils.c | |||
| @@ -190,6 +190,11 @@ int FAST_FUNC bb_delete_module(const char *module, unsigned int flags) | |||
| 190 | return errno; | 190 | return errno; |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | /* Note: not suitable for delete_module() errnos. | ||
| 194 | * For them, probably only EWOULDBLOCK needs explaining: | ||
| 195 | * "Other modules depend on us". So far we don't do such | ||
| 196 | * translation and don't use moderror() for removal errors. | ||
| 197 | */ | ||
| 193 | const char* FAST_FUNC moderror(int err) | 198 | const char* FAST_FUNC moderror(int err) |
| 194 | { | 199 | { |
| 195 | switch (err) { | 200 | switch (err) { |
