diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 18:24:39 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 18:24:39 +0200 |
commit | 75250977137c26f706fc1514aca7982107859b1c (patch) | |
tree | ffda94d4c88b4ce6a39003384df7af00933fb21c /extras/volume_id | |
parent | 3eb46ec6ddeb31d9886ebb736d1d7b3534d2f354 (diff) |
extras: use libudev code
Diffstat (limited to 'extras/volume_id')
-rw-r--r-- | extras/volume_id/Makefile.am | 5 | ||||
-rw-r--r-- | extras/volume_id/vol_id.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/extras/volume_id/Makefile.am b/extras/volume_id/Makefile.am index 75f3e984d6..3e11d5c348 100644 --- a/extras/volume_id/Makefile.am +++ b/extras/volume_id/Makefile.am @@ -14,10 +14,7 @@ vol_id_SOURCES = \ vol_id.c \ ../../udev/lib/libudev.h \ ../../udev/lib/libudev.c \ - ../../udev/lib/libudev-util.c \ - ../../udev/udev_sysdeps.c \ - ../../udev/udev_utils.c \ - ../../udev/udev_utils_string.c + ../../udev/lib/libudev-util.c vol_id_LDADD = \ lib/libvolume_id.la diff --git a/extras/volume_id/vol_id.c b/extras/volume_id/vol_id.c index 4b101be929..79ed099803 100644 --- a/extras/volume_id/vol_id.c +++ b/extras/volume_id/vol_id.c @@ -275,7 +275,7 @@ int main(int argc, char *argv[]) } set_str(label_safe, label, sizeof(label_safe)); - replace_chars(label_safe, ALLOWED_CHARS_INPUT); + util_replace_chars(label_safe, ALLOWED_CHARS_INPUT); volume_id_encode_string(label, label_enc, sizeof(label_enc)); volume_id_encode_string(uuid, uuid_enc, sizeof(uuid_enc)); |