diff --git a/src/fs/linuxswap.cpp b/src/fs/linuxswap.cpp index f58773c..c794cbe 100644 --- a/src/fs/linuxswap.cpp +++ b/src/fs/linuxswap.cpp @@ -119,7 +119,7 @@ bool linuxswap::copy(Report& report, const QString& targetDeviceNode, const QStr bool linuxswap::writeLabel(Report& report, const QString& deviceNode, const QString& newLabel) { - ExternalCommand cmd(report, QStringLiteral("mkswap"), { QStringLiteral("--label"), newLabel, deviceNode }); + ExternalCommand cmd(report, QStringLiteral("swaplabel"), { QStringLiteral("--label"), newLabel, deviceNode }); return cmd.run(-1) && cmd.exitCode() == 0; }