summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--partx/partx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/partx/partx.c b/partx/partx.c
index f19b91928..68246db73 100644
--- a/partx/partx.c
+++ b/partx/partx.c
@@ -744,9 +744,8 @@ int main(int argc, char **argv)
if (ncolumns && !what)
what = ACT_SHOW;
- /* backwardly compatible default */
if (!what)
- what = ACT_LIST;
+ what = ACT_SHOW;
/* --show default, could by modified by -o */
if (what == ACT_SHOW && !ncolumns) {