summaryrefslogtreecommitdiffstats
path: root/disk-utils/sfdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/sfdisk.c')
-rw-r--r--disk-utils/sfdisk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c
index 46034834a..fe85c26ab 100644
--- a/disk-utils/sfdisk.c
+++ b/disk-utils/sfdisk.c
@@ -1824,6 +1824,7 @@ static int command_fdisk(struct sfdisk *sf, int argc, char **argv)
break;
}
}
+ /* fallthrough */
case SFDISK_DONE_WRITE:
rc = write_changes(sf);
break;
@@ -2026,6 +2027,7 @@ int main(int argc, char *argv[])
break;
case 'G':
warnx(_("--show-pt-geometry is no more implemented. Using --show-geometry."));
+ /* fallthrough */
case 'g':
sf->act = ACT_SHOW_GEOM;
break;