aboutsummaryrefslogtreecommitdiffstats
path: root/mmc_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'mmc_cmds.c')
-rw-r--r--mmc_cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mmc_cmds.c b/mmc_cmds.c
index 26d1dcc..2790ead 100644
--- a/mmc_cmds.c
+++ b/mmc_cmds.c
@@ -1073,7 +1073,7 @@ int do_create_gp_partition(int nargs, char **argv)
if (ret)
exit(1);
- if (!set_partitioning_setting_completed(dry_run, device, fd))
+ if (set_partitioning_setting_completed(dry_run, device, fd))
exit(1);
return 0;
@@ -1218,7 +1218,7 @@ int do_enh_area_set(int nargs, char **argv)
printf("Done setting ENH_USR area on %s\n", device);
- if (!set_partitioning_setting_completed(dry_run, device, fd))
+ if (set_partitioning_setting_completed(dry_run, device, fd))
exit(1);
return 0;
@@ -1280,7 +1280,7 @@ int do_write_reliability_set(int nargs, char **argv)
printf("Done setting EXT_CSD_WR_REL_SET to 0x%02x on %s\n",
value, device);
- if (!set_partitioning_setting_completed(dry_run, device, fd))
+ if (set_partitioning_setting_completed(dry_run, device, fd))
exit(1);
return 0;