提交 25415eb1 编写于 作者: D Daniel Veillard

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

daniel
上级 61674cc1
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> Tue Jan 20 16:36:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
Make RPC call dispatch threaded Make RPC call dispatch threaded
......
...@@ -213,7 +213,7 @@ qemudLogReadFD(virConnectPtr conn, const char* logDir, const char* name, off_t p ...@@ -213,7 +213,7 @@ qemudLogReadFD(virConnectPtr conn, const char* logDir, const char* name, off_t p
if (lseek(fd, pos, SEEK_SET) < 0) { if (lseek(fd, pos, SEEK_SET) < 0) {
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
_("Unable to seek to %lld in %s: %s"), _("Unable to seek to %lld in %s: %s"),
pos, logfile, strerror(errno)); (long long) pos, logfile, strerror(errno));
close(fd); close(fd);
} }
return fd; return fd;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册