25 lines
830 B
Text
25 lines
830 B
Text
$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);
|