diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp
--- a/src/util/externalcommandhelper.cpp
+++ b/src/util/externalcommandhelper.cpp
@@ -112,7 +112,7 @@
}
if (!device.seek(offset)) {
- qCritical() << xi18n("Could not seek position %1 on device %1.", sourceDevice);
+ qCritical() << xi18n("Could not seek position %1 on device %2.", offset, sourceDevice);
return false;
}
@@ -141,7 +141,7 @@
}
if (!device.seek(offset)) {
- qCritical() << xi18n("Could not seek position %1 on device %1.", targetDevice);
+ qCritical() << xi18n("Could not seek position %1 on device %2.", offset, targetDevice);
return false;
}