projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2384a35
)
modinfo: show firmware and depends fields
author
Lauri Kasanen
<curaga@operamail.com>
Mon, 14 Feb 2011 17:50:30 +0000
(19:50 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 15 Feb 2011 00:43:04 +0000
(
01:43
+0100)
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modinfo.c
patch
|
blob
|
history
diff --git
a/modutils/modinfo.c
b/modutils/modinfo.c
index 731fc05538b7b0e57ccc03a5313cc56b4e206c0d..cc501825c6dc10d7f111e713a69288cc83fb7e52 100644
(file)
--- 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;