]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc: fix indention [smatch scan]
authorKarel Zak <kzak@redhat.com>
Wed, 5 Aug 2015 11:22:05 +0000 (13:22 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Aug 2015 11:22:05 +0000 (13:22 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fallocate.c
sys-utils/unshare.c

index d7e591cd8d4b47753f222449d0ac000850e33307..0cf32ecb36aba46d883e6619d16143710b9a748a 100644 (file)
@@ -170,7 +170,7 @@ static int is_nul(void *buf, size_t bufsize)
        while (*cp++ == 0)
                continue;
 
-         return cbuf + bufsize < cp;
+       return cbuf + bufsize < cp;
 }
 
 static void dig_holes(int fd, off_t off, off_t len)
index 47dda94ad9b7f2fa39f459b1ea9377c08426ebef..7482a8bd38c71ddbf78ff317b0c760f033552e6b 100644 (file)
@@ -99,7 +99,7 @@ static void setgroups_control(int action)
        if (fd < 0) {
                if (errno == ENOENT)
                        return;
-                err(EXIT_FAILURE, _("cannot open %s"), file);
+               err(EXIT_FAILURE, _("cannot open %s"), file);
        }
 
        if (write_all(fd, cmd, strlen(cmd)))