From: Karel Zak Date: Wed, 5 Aug 2015 11:22:05 +0000 (+0200) Subject: misc: fix indention [smatch scan] X-Git-Tag: v2.27-rc2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ff635bff43d8b257978443202bc758cd30f0ac5;p=thirdparty%2Futil-linux.git misc: fix indention [smatch scan] Signed-off-by: Karel Zak --- diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index d7e591cd8d..0cf32ecb36 100644 --- a/sys-utils/fallocate.c +++ b/sys-utils/fallocate.c @@ -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) diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c index 47dda94ad9..7482a8bd38 100644 --- a/sys-utils/unshare.c +++ b/sys-utils/unshare.c @@ -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)))