OSDN Git Service
(root)
/
android-x86
/
external-alsa-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47563fb
)
alsaucm: fix command line arguments parsing
author
Jaroslav Kysela
<perex@perex.cz>
Thu, 21 Oct 2010 18:24:37 +0000
(20:24 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 21 Oct 2010 18:24:37 +0000
(20:24 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsaucm/usecase.c
patch
|
blob
|
history
diff --git
a/alsaucm/usecase.c
b/alsaucm/usecase.c
index
58165f7
..
bb894c6
100644
(file)
--- a/
alsaucm/usecase.c
+++ b/
alsaucm/usecase.c
@@
-401,7
+401,7
@@
int main(int argc, char *argv[])
}
/* parse and execute any command line commands */
- if (argc >
= 3
) {
+ if (argc >
optind
) {
context->argv = argv + optind;
context->argc = argc - optind;
err = do_commands(context);