diff options
Diffstat (limited to 'daemon/scrub.c')
-rw-r--r-- | daemon/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/scrub.c b/daemon/scrub.c index 6e205a01..3c22b663 100644 --- a/daemon/scrub.c +++ b/daemon/scrub.c @@ -33,7 +33,7 @@ do_scrub_device (char *device) char *err; int r; - IS_DEVICE (device, -1); + RESOLVE_DEVICE (device, return -1); r = command (NULL, &err, "scrub", device, NULL); if (r == -1) { |