summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-11-14 16:12:54 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-11-14 16:12:54 +0000
commit9d11b78a36d2c8fee39f51924f9af81b663a122c (patch)
tree962bdd3e7bb8115e97e13fbf9e22eb36e96a6827
parent26693c0cf463038c093280105ade789d71317f7a (diff)
..and remove 'c' from getopt args too
-rw-r--r--audio/headset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index dd126814..7e52ca9e 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -647,7 +647,7 @@ int main(int argc, char *argv[])
struct sigaction sa;
int opt, daemonize = 1;
- while ((opt = getopt(argc, argv, "nc:")) != EOF) {
+ while ((opt = getopt(argc, argv, "n")) != EOF) {
switch (opt) {
case 'n':
daemonize = 0;