diff options
author | 2019-07-10 14:21:34 +0000 | |
---|---|---|
committer | 2019-07-10 14:21:34 +0000 | |
commit | 6dfffa22760aa0d638cf75ead0fb8fb031c90dab (patch) | |
tree | 01248a27c2151ae81972c41fa37e3559e99fdc3a | |
parent | document the dropping of the second / and ? in line address REs; (diff) | |
download | wireguard-openbsd-6dfffa22760aa0d638cf75ead0fb8fb031c90dab.tar.xz wireguard-openbsd-6dfffa22760aa0d638cf75ead0fb8fb031c90dab.zip |
Use NULL instead of 0 where a pointer is expected.
-rw-r--r-- | usr.bin/sndiod/dev.c | 4 |
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; |