summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sndiod/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sndiod/dev.c b/usr.bin/sndiod/dev.c
index 0a7ad257ebd..9c14ee270ac 100644
--- a/usr.bin/sndiod/dev.c
+++ b/usr.bin/sndiod/dev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.c,v 1.48 2019/06/16 13:50:39 ratchov Exp $ */
+/* $OpenBSD: dev.c,v 1.49 2019/07/10 14:21:34 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -1642,7 +1642,7 @@ found:
log_puts(": requested mode not supported\n");
}
dev_unref(d);
- return 0;
+ return NULL;
}
s->dev = d;
s->opt = opt;