summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-05-06 18:59:03 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-05-06 18:59:03 +0200
commitf7e3c6f5f8cc8e5d2e73c96bd3fcd6decde85d66 (patch)
treeda3f95bf9b07a5f244d7bfbe611dbe4b9bf5634a
parentc0c6a4fc1c843fc61d44dc9f0a2b14c01201db12 (diff)
udev: fix weird coding-style
Eeeew!
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 661047ea26..8c81ecf279 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -150,7 +150,7 @@ static void worker_cleanup(struct worker *worker) {
}
static void worker_unref(struct worker *worker) {
- if (!worker || (-- worker->refcount) > 0)
+ if (!worker || --worker->refcount > 0)
return;
log_debug("worker ["PID_FMT"] cleaned up", worker->pid);
worker_cleanup(worker);