From e985f1e6283b5a81fa5499d514d05d8a3e5cfcc6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Jan 2014 11:15:02 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/adjbacklight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adjbacklight.c b/src/adjbacklight.c index 2aee72e..fcb1ffd 100644 --- a/src/adjbacklight.c +++ b/src/adjbacklight.c @@ -453,7 +453,7 @@ int main(int argc, char** argv) while ((ent = readdir(dir))) { device = ent->d_name; - if (all || (strstr(device, forbidden) != forbidden)) + if (all || (strstr(device, forbidden) != device)) if (*device && (*device != '.')) { if (get) -- cgit v1.2.3-70-g09d2