aboutsummaryrefslogtreecommitdiff
path: root/brightnessctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'brightnessctl.c')
-rw-r--r--brightnessctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/brightnessctl.c b/brightnessctl.c
index 1629a35..31a066d 100644
--- a/brightnessctl.c
+++ b/brightnessctl.c
@@ -434,7 +434,7 @@ bool read_device(struct device *d, char *class, char *id) {
DIR *dirp;
FILE *f;
char *dev_path = NULL;
- char *ent_path;
+ char *ent_path = NULL;
int error = 0;
struct dirent *ent;
bool cur;