summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2001-10-25 04:02:25 +0000
committerArchie Cobbs <archie@FreeBSD.org>2001-10-25 04:02:25 +0000
commit0fb56449d624bb1b809cc2fdc3b9870c3bb88f37 (patch)
treed83b420885fe0557b0105320a941335758e6c709 /lib
parent92277380c830a83e8513dd3c4a7146db334a7f02 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libnetgraph/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c
index 8246d4226fda..2c2565f2ee4f 100644
--- a/lib/libnetgraph/msg.c
+++ b/lib/libnetgraph/msg.c
@@ -81,7 +81,7 @@ NgSendMsg(int cs, const char *path,
/* Deliver message */
if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0)
return (-1);
- return (gMsgId);
+ return (msg.header.token);
}
/*
@@ -146,7 +146,7 @@ NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...)
if (NgDeliverMsg(cs,
path, binary, binary->data, binary->header.arglen) < 0)
return (-1);
- return (gMsgId);
+ return (binary->header.token);
}
/*