summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index 763cfd139f..af2346c8f5 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -104,7 +104,7 @@ exit:
}
/* callback for database dump */
-static int print_record(char *path, struct udevice *dev)
+static int print_record(const char *path, struct udevice *dev)
{
printf("P: %s\n", path);
printf("N: %s\n", dev->name);