diff --git a/src/basic/blockdev-util.c b/src/basic/blockdev-util.c index 6bbb723dfe9..0ee14cbc0b2 100644 --- a/src/basic/blockdev-util.c +++ b/src/basic/blockdev-util.c @@ -52,7 +52,7 @@ int block_get_whole_disk(dev_t d, dev_t *ret) { return -errno; *ret = devt; - return 0; + return 1; } int get_block_device(const char *path, dev_t *dev) {