diff options
Diffstat (limited to 'src/gdu-format-tool/format-window.c')
| -rw-r--r-- | src/gdu-format-tool/format-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdu-format-tool/format-window.c b/src/gdu-format-tool/format-window.c index fd469bc..b853a28 100644 --- a/src/gdu-format-tool/format-window.c +++ b/src/gdu-format-tool/format-window.c @@ -251,7 +251,7 @@ spawn_palimpsest (FormatDialogPrivate *priv) device = gdu_presentable_get_device (priv->presentable); if (device) { - argv[1] = g_strdup_printf ("--show-drive=%s", gdu_device_get_device_file (device)); + argv[1] = g_strdup_printf ("--%s=%s", GDU_IS_DRIVE (priv->presentable) ? "show-drive" : "show-volume", gdu_device_get_device_file (device)); g_object_unref (device); } |
