diff options
author | Karel Zak | 2015-08-05 13:22:05 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-05 13:22:05 +0200 |
commit | 7ff635bff43d8b257978443202bc758cd30f0ac5 (patch) | |
tree | 8835c700bfa71e0d3d29399d5ac8cf2e3de30f71 | |
parent | tools: add hexdump badconv() to noreturn smatch list (diff) | |
download | kernel-qcow2-util-linux-7ff635bff43d8b257978443202bc758cd30f0ac5.tar.gz kernel-qcow2-util-linux-7ff635bff43d8b257978443202bc758cd30f0ac5.tar.xz kernel-qcow2-util-linux-7ff635bff43d8b257978443202bc758cd30f0ac5.zip |
misc: fix indention [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | sys-utils/fallocate.c | 2 | ||||
-rw-r--r-- | sys-utils/unshare.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index d7e591cd8..0cf32ecb3 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 47dda94ad..7482a8bd3 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))) |