diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-01-26 11:15:02 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-01-26 11:15:02 +0100 |
commit | e985f1e6283b5a81fa5499d514d05d8a3e5cfcc6 (patch) | |
tree | e025a6f7c29aa8e8013d281e9abef1dff5e8dcf4 /src/adjbacklight.c | |
parent | m make (diff) | |
download | adjbacklight-e985f1e6283b5a81fa5499d514d05d8a3e5cfcc6.tar.gz adjbacklight-e985f1e6283b5a81fa5499d514d05d8a3e5cfcc6.tar.bz2 adjbacklight-e985f1e6283b5a81fa5499d514d05d8a3e5cfcc6.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/adjbacklight.c')
-rw-r--r-- | src/adjbacklight.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |