From 4309050fec8bedd2c638e00d3ae915e9af38c34c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 21 Jul 2016 13:18:57 -0400 Subject: [PATCH] elput: Use proper variable type The 'getenv' function returns char * ... not a const char *, so adjust variable type to match Signed-off-by: Chris Michael --- src/lib/elput/elput_evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c index 089bad513c..7a1b1cb0b3 100644 --- a/src/lib/elput/elput_evdev.c +++ b/src/lib/elput/elput_evdev.c @@ -61,7 +61,7 @@ static int _keyboard_fd_get(off_t size) { int fd = 0; - const char *path; + char *path; char tmp[PATH_MAX]; long flags;