1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-08-02 04:22:40 +03:00

Remove conn parameter from virReportSystemError

This commit is contained in:
Matthias Bolte
2010-02-04 21:02:58 +01:00
parent 8ce5e2c1ab
commit a5ab900d26
47 changed files with 589 additions and 638 deletions

View File

@ -151,7 +151,7 @@ index b84729f..4f73baf 100644
+ fd = open(operation_path, O_WRONLY);
+
+ if (fd < 0) {
+ virReportSystemError(conn, errno,
+ virReportSystemError(errno,
+ _("Could not open '%s' for vport operation"),
+ operation_path);
+ retval = -1;
@ -171,7 +171,7 @@ index b84729f..4f73baf 100644
+ towrite = strlen(vport_name);
+ written = safewrite(fd, vport_name, towrite);
+ if (written != towrite) {
+ virReportSystemError(conn, errno,
+ virReportSystemError(errno,
+ _("Write of '%s' to '%s' during "
+ "vport create/delete failed "
+ "(towrite: %lu written: %d)"),