]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
coverity: make indent match nest level
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 20 Aug 2013 23:01:07 +0000 (18:01 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 20 Aug 2013 23:01:07 +0000 (18:01 -0500)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxclock.c

index 43e76fa73a9273573eaa2bd221d32e99747e18d2..8b07ec8b23db9dbfe51ab84b251116542103a812 100644 (file)
@@ -207,9 +207,10 @@ int lxcunlock(struct lxc_lock *l)
        case LXC_LOCK_ANON_SEM:
                if (!l->u.sem)
                        ret = -2;
-               else
+               else {
                        ret = sem_post(l->u.sem);
                        saved_errno = errno;
+               }
                break;
        case LXC_LOCK_FLOCK:
                process_lock();