diff options
author | OBATA Akio <obache@users.noreply.github.com> | 2016-07-15 17:39:24 +0900 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2016-07-15 19:07:06 +0300 |
commit | 8f743098dbe9827b21d72a1eb1aa027825a8d2a4 (patch) | |
tree | db58a2761be34e0e399fb75971cee19e8d4261b0 | |
parent | eb2c4bb19162f96dfde46f4447fdc33ea13bff19 (diff) | |
download | ConsoleKit2-1.0.tar.gz |
Fix a reversed condition for invalid device on NetBSD1.0
-rw-r--r-- | src/ck-sysdeps-netbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ck-sysdeps-netbsd.c b/src/ck-sysdeps-netbsd.c index bc8eb13..37b42a3 100644 --- a/src/ck-sysdeps-netbsd.c +++ b/src/ck-sysdeps-netbsd.c @@ -113,7 +113,7 @@ ck_process_stat_get_tty (CkProcessStat *stat) { g_return_val_if_fail (stat != NULL, NULL); - if (stat->tty != NODEV){ + if (stat->tty == NODEV){ return NULL; } |