summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-05-06 18:59:03 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-05-26 13:09:29 -0400
commitadf171757dc1bcf2c5e8b1918e057b9440f43d0e (patch)
treef9a8278a3e07bfb8c9d23493a60b221ffcff3424 /src
parentdae71aedd20af3eade4b8e0cb1dc68444a60c7ef (diff)
udev: fix weird coding-style
Eeeew! Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-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 b921442337..2b2b4aaf81 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -153,7 +153,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);