1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

blockdev-util: let us know if block_get_whole_disk() did anything

This commit is contained in:
Lennart Poettering 2019-05-21 18:00:54 +02:00
parent 51f14fa111
commit a0ea1dee7b

View File

@ -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) {