Minor fixes: typo, missing break in switch
PATCH 1/1 Minor fixes: typo, missing break in switch
Signed-off-by Boris Egorov <[email protected]>
--- disk-utils/fdisk.c | 1 + libblkid/src/superblocks/nilfs.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
disk-utils/fdisk.c +1 -0
@@ -779,6 +779,7 @@ int main(int argc, char **argv)if (!lb)errx (EXIT_FAILURE ,_ ("unsupported disklabel: %s" ), optarg);fdisk_label_set_disabled (lb,0 ); +break ; }case 'u' :if (optarg && *optarg =='=' )
libblkid/src/superblocks/nilfs.c +1 -1
@@ -97,7 +97,7 @@ static int probe_nilfs2(blkid_probe pr, const struct blkid_idmag *mag)/* backup */ sbb = (struct nilfs_super_block *)blkid_probe_get_buffer ( pr, ((pr->size /0x200 ) -8 ) *0x200 ,sizeof (struct nilfs_super_block )); -if (!sbp) +if (!sbb)return errno ? -errno :1 ;/*
Signature · 1 line
2.1.3
Karel Zak
maintainerQuoted 3 lines · Boris Egorov
disk-utils/fdisk.c | 1 + libblkid/src/superblocks/nilfs.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Applied (as two patches), thanks!
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com