diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-14 16:45:12 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-16 02:22:58 +0900 |
commit | c8eaaf69aca23bc5d6d04336016fd70328485275 (patch) | |
tree | d3a9fb0008bdf69dfcf393a1cf59c251fffd308f /src/udev/udevadm-test.c | |
parent | 1223227f952a1939a592760ae437e417ba24bb01 (diff) | |
download | systemd-c8eaaf69aca23bc5d6d04336016fd70328485275.tar.gz |
udev: rename UTIL_LINE_SIZE -> UDEV_LINE_SIZE and friends
This also moves them to udev-util.h
Diffstat (limited to 'src/udev/udevadm-test.c')
-rw-r--r-- | src/udev/udevadm-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c index 747047dac8..7f8e231087 100644 --- a/src/udev/udevadm-test.c +++ b/src/udev/udevadm-test.c @@ -26,7 +26,7 @@ static const char *arg_action = "add"; static ResolveNameTiming arg_resolve_name_timing = RESOLVE_NAME_EARLY; -static char arg_syspath[UTIL_PATH_SIZE] = {}; +static char arg_syspath[UDEV_PATH_SIZE] = {}; static int help(void) { @@ -149,7 +149,7 @@ int test_main(int argc, char *argv[], void *userdata) { printf("%s=%s\n", key, value); ORDERED_HASHMAP_FOREACH_KEY(val, cmd, event->run_list) { - char program[UTIL_PATH_SIZE]; + char program[UDEV_PATH_SIZE]; (void) udev_event_apply_format(event, cmd, program, sizeof(program), false); printf("run: '%s'\n", program); |