diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-22 15:22:59 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:49:45 +0200 |
commit | a09384dde54cbb644b3c414ba8dec15112497cab (patch) | |
tree | 7f080e0c89d56b820086d412c9a1ca03f336e5d0 /src/core/cgroup.c | |
parent | 2b522f73623705a9b5d1c0223e18667e58fc640f (diff) |
basic: split out blockdev-util.[ch] from util.h
With three functions it makes sense to split this out now.
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r-- | src/core/cgroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 79f362fb6..161ea7dc8 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -22,6 +22,7 @@ #include <fnmatch.h> #include "alloc-util.h" +//#include "blockdev-util.h" //#include "bpf-firewall.h" #include "cgroup-util.h" #include "cgroup.h" @@ -308,7 +309,7 @@ static int lookup_block_device(const char *p, dev_t *dev) { /* If this is a partition, try to get the originating * block device */ - block_get_whole_disk(*dev, dev); + (void) block_get_whole_disk(*dev, dev); } else { log_warning("%s is not a block device and file system block device cannot be determined or is not local.", p); return -ENODEV; |