summaryrefslogtreecommitdiff
path: root/udev/udevadm-settle.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-10 21:50:21 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-10 21:50:21 +0200
commit17fcfb5972977b6a3aedca6ad2aa8d1fbfbc761d (patch)
tree829107a8a24b59948c67d0877990e39cbf1c32ce /udev/udevadm-settle.c
parent31c1f537450e96f8ddd6a0fad2adaefe57996f03 (diff)
use size definitions from libudev
Diffstat (limited to 'udev/udevadm-settle.c')
-rw-r--r--udev/udevadm-settle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c
index ed67bbbdfb..78ac47ff41 100644
--- a/udev/udevadm-settle.c
+++ b/udev/udevadm-settle.c
@@ -44,7 +44,7 @@ static void print_queue(struct udev *udev, const char *dir)
printf("\n\nAfter the udevadm settle timeout, the events queue contains:\n\n");
list_for_each_entry(item, &files, node) {
- char target[NAME_SIZE];
+ char target[UTIL_NAME_SIZE];
size_t len;
const char *filename = strrchr(item->name, '/');
@@ -67,8 +67,8 @@ static void print_queue(struct udev *udev, const char *dir)
int udevadm_settle(struct udev *udev, int argc, char *argv[])
{
- char queuename[PATH_SIZE];
- char filename[PATH_SIZE];
+ char queuename[UTIL_PATH_SIZE];
+ char filename[UTIL_PATH_SIZE];
unsigned long long seq_kernel;
unsigned long long seq_udev;
char seqnum[32];