summaryrefslogtreecommitdiff
path: root/udev/test-udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/test-udev.c')
-rw-r--r--udev/test-udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/test-udev.c b/udev/test-udev.c
index d33fcf566d..dae7aaa634 100644
--- a/udev/test-udev.c
+++ b/udev/test-udev.c
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
/* override built-in sysfs device */
udevice->dev = dev;
- strlcpy(udevice->action, action, sizeof(udevice->action));
+ util_strlcpy(udevice->action, action, sizeof(udevice->action));
/* get dev_t from environment, which is needed for "remove" to work, "add" works also from sysfs */
maj = getenv("MAJOR");