projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6feba02
)
depmod: --symbol-prefix actually requires an argument
author
Andrey Mazo
<mazo@telum.ru>
Wed, 12 Dec 2012 12:36:58 +0000
(16:36 +0400)
committer
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Thu, 13 Dec 2012 17:52:42 +0000
(15:52 -0200)
-P requires and uses an argument but its long counterpart --symbol-prefix does not:
depmod: option '--symbol-prefix' doesn't allow an argument
tools/depmod.c
patch
|
blob
|
history
diff --git
a/tools/depmod.c
b/tools/depmod.c
index
682e662
..
f7d71f8
100644
(file)
--- a/
tools/depmod.c
+++ b/
tools/depmod.c
@@
-63,7
+63,7
@@
static const struct option cmdopts[] = {
{ "verbose", no_argument, 0, 'v' },
{ "show", no_argument, 0, 'n' },
{ "dry-run", no_argument, 0, 'n' },
- { "symbol-prefix",
no
_argument, 0, 'P' },
+ { "symbol-prefix",
required
_argument, 0, 'P' },
{ "warn", no_argument, 0, 'w' },
{ "map", no_argument, 0, 'm' }, /* deprecated */
{ "version", no_argument, 0, 'V' },