On 12/13/2010 05:41 AM, Jiri Denemark wrote:
---
src/util/virterror.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/virterror.c b/src/util/virterror.c
index 6e49fa2..b912737 100644
--- a/src/util/virterror.c
+++ b/src/util/virterror.c
@@ -1301,7 +1301,7 @@ void virReportSystemErrorFull(int domcode,
n = vsnprintf(msgDetailBuf, sizeof(msgDetailBuf), fmt, args);
va_end(args);
- size_t len = strlen (msgDetailBuf);
+ size_t len = strlen(errnoDetail);
if (0<= n&& n + 2 + len< sizeof (msgDetailBuf)) {
char *p = msgDetailBuf + n;
stpcpy (stpcpy (p, ": "), errnoDetail);
'ACK.