diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-09 17:17:46 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-09 17:48:34 +0200 |
commit | 9409174ee7280447a6f8c395740bda4fa8114b1d (patch) | |
tree | cce77c04ee87259216878c9e5f9db4577196a75d /src/shared/blockdev-util.c | |
parent | Merge pull request #24609 from yuwata/sd-device-enumerator-check-sysname (diff) | |
download | systemd-9409174ee7280447a6f8c395740bda4fa8114b1d.tar.xz systemd-9409174ee7280447a6f8c395740bda4fa8114b1d.zip |
udevd: use partition enumerator at one more place
No functional changes, just refactoring.
Diffstat (limited to 'src/shared/blockdev-util.c')
-rw-r--r-- | src/shared/blockdev-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/blockdev-util.c b/src/shared/blockdev-util.c index 7ffb619ac6..87c19d7086 100644 --- a/src/shared/blockdev-util.c +++ b/src/shared/blockdev-util.c @@ -509,7 +509,7 @@ int block_device_resize_partition( return RET_NERRNO(ioctl(fd, BLKPG, &ba)); } -static int partition_enumerator_new(sd_device *dev, sd_device_enumerator **ret) { +int partition_enumerator_new(sd_device *dev, sd_device_enumerator **ret) { _cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *e = NULL; const char *s; int r; |