Mercurial > hg > toybox
comparison toys/other/modinfo.c @ 884:ac9991f66d0d
Add firmware field to modinfo output.
author | idunham@lavabit.com |
---|---|
date | Sat, 27 Apr 2013 00:57:11 -0500 |
parents | 37e668afd008 |
children | aff9fa1075eb |
comparison
equal
deleted
inserted
replaced
883:aca8323e2690 | 884:ac9991f66d0d |
---|---|
17 GLOBALS( | 17 GLOBALS( |
18 char *field; | 18 char *field; |
19 ) | 19 ) |
20 | 20 |
21 static char *modinfo_tags[] = { | 21 static char *modinfo_tags[] = { |
22 "alias", "license", "description", "author", "vermagic", | 22 "alias", "license", "description", "author", "firmware", |
23 "srcversion", "intree", "parm", "depends", | 23 "vermagic", "srcversion", "intree", "parm", "depends", |
24 }; | 24 }; |
25 | 25 |
26 static void output_field(char *field, char *value) | 26 static void output_field(char *field, char *value) |
27 { | 27 { |
28 int len; | 28 int len; |