summaryrefslogtreecommitdiff
path: root/udevtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevtest.c')
-rw-r--r--udevtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udevtest.c b/udevtest.c
index 418d43de14..7b3ea6311d 100644
--- a/udevtest.c
+++ b/udevtest.c
@@ -90,9 +90,9 @@ out:
int main(int argc, char *argv[], char *envp[])
{
int force = 0;
- char *action = "add";
- char *subsystem = NULL;
- char *devpath = NULL;
+ const char *action = "add";
+ const char *subsystem = NULL;
+ const char *devpath = NULL;
struct udevice *udev;
struct sysfs_device *dev;
struct udev_rules rules = {};