[libvirt] [PATCH] * src/virterror.c (virReportErrorHelper): Sync doc to code.

Jim Meyering jim at meyering.net
Mon Nov 24 14:56:38 UTC 2008


The dom and net parameters are long gone.
Reflect s/msg/fmt/ renaming:

>From 8b87344dbe31fe478ac4a679005835e03a329ace Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 24 Nov 2008 15:55:24 +0100
Subject: [PATCH] * src/virterror.c (virReportErrorHelper): Sync doc to code.

---
 src/virterror.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/virterror.c b/src/virterror.c
index 0723db8..112a19e 100644
--- a/src/virterror.c
+++ b/src/virterror.c
@@ -747,17 +747,15 @@ virErrorMsg(virErrorNumber error, const char *info)
 }

 /**
- * virReportErrorHelper
+ * virReportErrorHelper:
  *
  * @conn: the connection to the hypervisor if available
- * @dom: the domain if available
- * @net: the network if available
  * @domcode: the virErrorDomain indicating where it's coming from
  * @errcode: the virErrorNumber code for the error
  * @filename: Source file error is dispatched from
  * @funcname: Function error is dispatched from
  * @linenr: Line number error is dispatched from
- * @msg:  the message to display/transmit
+ * @fmt:  the format string
  * @...:  extra parameters for the message display
  *
  * Helper function to do most of the grunt work for individual driver
--
1.6.0.4.1021.g4320




More information about the libvir-list mailing list