summaryrefslogtreecommitdiff
path: root/parallel/glunix/patches/patch-ca
blob: 2ca371dc901d00c155862c8411197535d52b30e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ca,v 1.1 2000/05/27 09:53:38 wiz Exp $

--- glunix/src/perf/cperf_msg.cc.orig	Fri Sep  5 21:30:07 1997
+++ glunix/src/perf/cperf_msg.cc	Fri May 26 12:26:10 2000
@@ -517,7 +517,7 @@
     ASSERT(msgPtr != NULL);
 
     fprintf(filePtr, "MSG_PERF_OBJECT_ENABLEMENT_REPLY id %d, errno = %d, enabled=%s\n",
-	    msgPtr->id, msgPtr->errno, Util_GetBoolStr(msgPtr->enabled));
+	    msgPtr->id, msgPtr->Msg_errno, Util_GetBoolStr(msgPtr->enabled));
 
     return;
 }
@@ -940,9 +940,9 @@
     reply.id = msg->id;
     obj = Perf_FindObject(msg->id);
     if (obj == NULL) {
-	reply.errno = ESRCH;
+	reply.Msg_errno = ESRCH;
     } else {
-	reply.errno = ESUCCESS;
+	reply.Msg_errno = ESUCCESS;
 	reply.enabled = obj->IsEnabled();
     }
     returnVal = Msg_Send(addr, MSG_PERF_OBJECT_ENABLEMENT_REPLY, (Msg_Msg *)&reply);