diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2019-07-10 14:21:35 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2019-07-10 14:21:35 +0000 |
commit | 75fc3542d2d78fa6255e649fe098fb25609f5284 (patch) | |
tree | c411cb6c40741409c92330203cbc4efd556794d6 /usr.bin/sndiod | |
parent | 199b23742098addba7dfdcbf3ce95a1dd5d1a915 (diff) |
Use NULL instead of 0 where a pointer is expected.
Diffstat (limited to 'usr.bin/sndiod')
-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; |