mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:05:41 +01:00
amixer - remove beep on errors in arguments
See bug#1247
This commit is contained in:
parent
8fa7c15229
commit
6d59cea271
1 changed files with 2 additions and 2 deletions
|
@ -1849,7 +1849,7 @@ int main(int argc, char *argv[])
|
|||
if (i >= 0 && i < 32)
|
||||
sprintf(card, "hw:%i", i);
|
||||
else {
|
||||
fprintf(stderr, "\07Invalid card number.\n");
|
||||
fprintf(stderr, "Invalid card number.\n");
|
||||
morehelp++;
|
||||
}
|
||||
}
|
||||
|
@ -1890,7 +1890,7 @@ int main(int argc, char *argv[])
|
|||
read_stdin = 1;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "\07Invalid switch or option needs an argument.\n");
|
||||
fprintf(stderr, "Invalid switch or option needs an argument.\n");
|
||||
morehelp++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue