mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-07 13:53:33 +00:00
Error message update
This commit is contained in:
parent
fe76a1a577
commit
29d919d30e
|
@ -159,7 +159,7 @@ bool RascsiImage::CreateImage(int fd, const PbCommand& command)
|
||||||
}
|
}
|
||||||
if (len < 512 || (len & 0x1ff)) {
|
if (len < 512 || (len & 0x1ff)) {
|
||||||
ostringstream error;
|
ostringstream error;
|
||||||
error << "Invalid image file size " << len;
|
error << "Invalid image file size " << len << " (not a multiple of 512)";
|
||||||
return ReturnStatus(fd, false, error.str());
|
return ReturnStatus(fd, false, error.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user