summaryrefslogtreecommitdiffstats
path: root/daemon/zero.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/zero.c')
-rw-r--r--daemon/zero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/zero.c b/daemon/zero.c
index 9c803d8c..ba87e68b 100644
--- a/daemon/zero.c
+++ b/daemon/zero.c
@@ -33,7 +33,7 @@ do_zero (char *device)
int fd, i;
char buf[4096];
- IS_DEVICE (device, -1);
+ RESOLVE_DEVICE (device, return -1);
fd = open (device, O_WRONLY);
if (fd == -1) {