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/udev_utils.c | |
parent | 31c1f537450e96f8ddd6a0fad2adaefe57996f03 (diff) |
use size definitions from libudev
Diffstat (limited to 'udev/udev_utils.c')
-rw-r--r-- | udev/udev_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev_utils.c b/udev/udev_utils.c index c051b20abd..09b965ef3b 100644 --- a/udev/udev_utils.c +++ b/udev/udev_utils.c @@ -127,7 +127,7 @@ int add_matching_files(struct udev *udev, struct list_head *name_list, const cha { struct dirent *ent; DIR *dir; - char filename[PATH_SIZE]; + char filename[UTIL_PATH_SIZE]; dbg(udev, "open directory '%s'\n", dirname); dir = opendir(dirname); @@ -141,7 +141,7 @@ int add_matching_files(struct udev *udev, struct list_head *name_list, const cha if (ent == NULL || ent->d_name[0] == '\0') break; - if ((ent->d_name[0] == '.') || (ent->d_name[0] == COMMENT_CHARACTER)) + if ((ent->d_name[0] == '.') || (ent->d_name[0] == '#')) continue; /* look for file matching with specified suffix */ |