diff options
author | Karel Zak | 2015-08-05 12:48:54 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-05 12:48:54 +0200 |
commit | 2bf68c93348a25bdb96c370e9d7fd8ff2ead8564 (patch) | |
tree | ee4dceb40b92228ad917f54b7e50da45ffbb20e6 | |
parent | libmount: variable dereferenced before check [smatch scan] (diff) | |
download | kernel-qcow2-util-linux-2bf68c93348a25bdb96c370e9d7fd8ff2ead8564.tar.gz kernel-qcow2-util-linux-2bf68c93348a25bdb96c370e9d7fd8ff2ead8564.tar.xz kernel-qcow2-util-linux-2bf68c93348a25bdb96c370e9d7fd8ff2ead8564.zip |
libblkid: fix inconsistent indenting [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | libblkid/src/probe.c | 2 | ||||
-rw-r--r-- | libblkid/src/superblocks/zfs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c index f097373b8..eae37f15c 100644 --- a/libblkid/src/probe.c +++ b/libblkid/src/probe.c @@ -1504,7 +1504,7 @@ dev_t blkid_probe_get_wholedisk_devno(blkid_probe pr) if (!devno) return 0; - if (blkid_devno_to_wholedisk(devno, NULL, 0, &disk_devno) == 0) + if (blkid_devno_to_wholedisk(devno, NULL, 0, &disk_devno) == 0) pr->disk_devno = disk_devno; } return pr->disk_devno; diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c index e9c10dcd6..8f82d1e6b 100644 --- a/libblkid/src/superblocks/zfs.c +++ b/libblkid/src/superblocks/zfs.c @@ -186,9 +186,9 @@ static int find_uberblocks(const void *label, loff_t *ub_offset, int *swap_endia found++; zdebug("probe_zfs: found big-endian uberblock at %llu\n", offset >> 10); } - } + } - return found; + return found; } /* ZFS has 128x1kB host-endian root blocks, stored in 2 areas at the start |