aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-10 20:54:49 -0400
committerDave Reisner <dreisner@archlinux.org>2012-05-10 20:54:49 -0400
commitb27fc6a03f3ae398462baefe28a8194bd582e835 (patch)
tree7a16b2e520b29a22c8130056a9165cb0ea056540
parent9b0a1cae214645e14fd22ccfac64a1dc107af4a0 (diff)
downloadmirror-ponymix-b27fc6a03f3ae398462baefe28a8194bd582e835.tar.gz
mirror-ponymix-b27fc6a03f3ae398462baefe28a8194bd582e835.tar.bz2
mirror-ponymix-b27fc6a03f3ae398462baefe28a8194bd582e835.zip
add NULL terminator to option array
-rw-r--r--pulsemix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pulsemix.c b/pulsemix.c
index 337bdc2..3d2f890 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -364,6 +364,7 @@ int main(int argc, char *argv[])
static const struct option opts[] = {
{ "help", no_argument, 0, 'h' },
{ "sink", required_argument, 0, 's' },
+ { 0, 0, 0, 0 },
};
for (;;) {