diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-09 03:59:08 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-09 03:59:08 +0200 |
commit | 285e2a24f67b1c09d7b4c54587802fc0a9d623eb (patch) | |
tree | a7468587f7233ca5149b50033f0948e3cc13f810 /udevtest.c | |
parent | 2e08169ed4618718636e162bca5be147179da91c (diff) |
udevtrigger: allow to specify action string
Diffstat (limited to 'udevtest.c')
-rw-r--r-- | udevtest.c | 6 |
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 = {}; |