summaryrefslogtreecommitdiff
path: root/extras/edd_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/edd_id')
-rw-r--r--extras/edd_id/Makefile.am5
-rw-r--r--extras/edd_id/edd_id.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/extras/edd_id/Makefile.am b/extras/edd_id/Makefile.am
index e494c1e672..3bdbbd85b2 100644
--- a/extras/edd_id/Makefile.am
+++ b/extras/edd_id/Makefile.am
@@ -15,10 +15,7 @@ edd_id_SOURCES = \
edd_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
if USE_SELINUX
edd_id_LDADD = \
diff --git a/extras/edd_id/edd_id.c b/extras/edd_id/edd_id.c
index b53700e756..4ba60393a0 100644
--- a/extras/edd_id/edd_id.c
+++ b/extras/edd_id/edd_id.c
@@ -156,7 +156,7 @@ int main(int argc, char *argv[])
if (disk_id == sysfs_id) {
if (match[0] == '\0') {
/* store id */
- strlcpy(match, dent->d_name, sizeof(match));
+ util_strlcpy(match, dent->d_name, sizeof(match));
} else {
/* error, same signature for another device */
info(udev, "'%s' does not have a unique signature\n", node);