From: Lauri Kasanen Date: Mon, 14 Feb 2011 17:50:30 +0000 (+0200) Subject: modinfo: show firmware and depends fields X-Git-Tag: 1_19_0~287 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=12f44ea18344f66e03e61e621a6c0fd2d36f7595;p=oweals%2Fbusybox.git modinfo: show firmware and depends fields Signed-off-by: Lauri Kasanen Signed-off-by: Denys Vlasenko --- diff --git a/modutils/modinfo.c b/modutils/modinfo.c index 731fc0553..cc501825c 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c @@ -23,9 +23,9 @@ enum { - OPT_TAGS = (1 << 6) - 1, - OPT_F = (1 << 6), /* field name */ - OPT_0 = (1 << 7), /* \0 as separator */ + OPT_TAGS = (1 << 8) - 1, + OPT_F = (1 << 8), /* field name */ + OPT_0 = (1 << 9), /* \0 as separator */ }; struct modinfo_env { @@ -53,6 +53,8 @@ static void modinfo(const char *path, const char *version, "license", "vermagic", "parm", + "firmware", + "depends", }; size_t len; int j, length;