diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 21:50:21 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 21:50:21 +0200 |
commit | 17fcfb5972977b6a3aedca6ad2aa8d1fbfbc761d (patch) | |
tree | 829107a8a24b59948c67d0877990e39cbf1c32ce /udev/udevadm-test.c | |
parent | 31c1f537450e96f8ddd6a0fad2adaefe57996f03 (diff) |
use size definitions from libudev
Diffstat (limited to 'udev/udevadm-test.c')
-rw-r--r-- | udev/udevadm-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c index b6fccf34e7..ba0852871a 100644 --- a/udev/udevadm-test.c +++ b/udev/udevadm-test.c @@ -33,7 +33,7 @@ static int import_uevent_var(struct udev *udev, const char *devpath) { - char path[PATH_SIZE]; + char path[UTIL_PATH_SIZE]; static char value[4096]; /* must stay, used with putenv */ ssize_t size; int fd; @@ -189,7 +189,7 @@ int udevadm_test(struct udev *udev, int argc, char *argv[]) struct name_entry *name_loop; list_for_each_entry(name_loop, &udevice->run_list, node) { - char program[PATH_SIZE]; + char program[UTIL_PATH_SIZE]; util_strlcpy(program, name_loop->name, sizeof(program)); udev_rules_apply_format(udevice, program, sizeof(program)); |