diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp
index 4d07394..c3f7c72 100644
--- a/src/util/externalcommandhelper.cpp
+++ b/src/util/externalcommandhelper.cpp
@@ -112,7 +112,7 @@ bool ExternalCommandHelper::readData(const QString& sourceDevice, QByteArray& bu
}
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 @@ bool ExternalCommandHelper::writeData(const QString &targetDevice, const QByteAr
}
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;
}