* src/qemu_driver.c: remove a warning when printing a file offset

daniel
This commit is contained in:
Daniel Veillard 2009-01-20 16:39:35 +00:00
parent 61674cc17d
commit 25415eb104
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Jan 20 17:17:11 CET 2009 Daniel Veillard <veillard@redhat.com>
* src/qemu_driver.c: remove a warning when printing a file offset
Tue Jan 20 16:36:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
Make RPC call dispatch threaded

View File

@ -213,7 +213,7 @@ qemudLogReadFD(virConnectPtr conn, const char* logDir, const char* name, off_t p
if (lseek(fd, pos, SEEK_SET) < 0) {
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
_("Unable to seek to %lld in %s: %s"),
pos, logfile, strerror(errno));
(long long) pos, logfile, strerror(errno));
close(fd);
}
return fd;