Updated logging

This commit is contained in:
Uwe Seimet 2021-09-15 13:35:39 +02:00
parent 2ffad76c64
commit 4bf903f7f2

View File

@ -753,7 +753,9 @@ bool CreateImage(int fd, const PbCommand& command)
close(image_fd);
LOGINFO("%s", string("Created image file '" + filename + "'").c_str());
ostringstream msg;
msg << "Created image file '" << filename + "' with a size of " << len << " bytes";
LOGINFO("%s", msg.str().c_str());
return ReturnStatus(fd);
}