summaryrefslogtreecommitdiff
path: root/parallel/glunix/patches/patch-cb
blob: d9337c673acba595aa9abe71fedd44817c247423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-cb,v 1.2 2005/05/29 14:38:33 wiz Exp $

--- glunix/src/msg/cmsg_msg.cc.orig	1996-10-25 00:39:59.000000000 +0200
+++ glunix/src/msg/cmsg_msg.cc
@@ -109,6 +109,7 @@
  *
  *****************************************************************************/
 
+#include <stdlib.h>
 #include "glib/types.h"
 #include "cmsg.h"
 #include "cmsg_msg.h"
@@ -186,7 +187,7 @@ Msg_PrintError(int callbackValue, FILE *
 
     fprintf(filePtr, "MSG_ERROR msgType ");
     Msg_PrintMsgType(filePtr, newMsgPtr->msgType);
-    fprintf(filePtr, ", errno %d\n", newMsgPtr->errno);
+    fprintf(filePtr, ", errno %d\n", newMsgPtr->Msg_errno);
 
     return;
 }