diff options
Diffstat (limited to 'extras/edd_id/edd_id.c')
-rw-r--r-- | extras/edd_id/edd_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/edd_id/edd_id.c b/extras/edd_id/edd_id.c index 4154387cb6..9e9667fc62 100644 --- a/extras/edd_id/edd_id.c +++ b/extras/edd_id/edd_id.c @@ -157,7 +157,7 @@ int main(int argc, char *argv[]) if (disk_id == sysfs_id) { if (match[0] == '\0') { /* store id */ - util_strlcpy(match, dent->d_name, sizeof(match)); + util_strscpy(match, sizeof(match), dent->d_name); } else { /* error, same signature for another device */ info(udev, "'%s' does not have a unique signature\n", node); |