diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/getopt.c | 6 | ||||
-rw-r--r-- | util-linux/volume_id/hfs.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 6ec5cb0cd..2da348176 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c @@ -158,10 +158,10 @@ static int generate_output(char **argv, int argc, const char *optstr, const stru /* Reset getopt(3) (see libbb/getopt32.c for long rant) */ #ifdef __GLIBC__ - optind = 0; + optind = 0; #else /* BSD style */ - optind = 1; - /* optreset = 1; */ + optind = 1; + /* optreset = 1; */ #endif while (1) { diff --git a/util-linux/volume_id/hfs.c b/util-linux/volume_id/hfs.c index a7667f725..79658e4fa 100644 --- a/util-linux/volume_id/hfs.c +++ b/util-linux/volume_id/hfs.c @@ -160,7 +160,7 @@ int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off) buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200); if (buf == NULL) - return -1; + return -1; hfs = (struct hfs_mdb *) buf; if (hfs->signature[0] != 'B' || hfs->signature[1] != 'D') |