diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2000-06-02 21:54:10 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2000-06-02 21:54:10 +0000 |
| commit | 591edda266d926bcde1a94f63e644e0e2b8b3c0d (patch) | |
| tree | 506d9948b181950492548947cbdc3529aff8f5b4 /lib/libnetgraph | |
| parent | 3ca5f13a43c943081f5700fd7bd5d29873c06344 (diff) | |
Notes
Diffstat (limited to 'lib/libnetgraph')
| -rw-r--r-- | lib/libnetgraph/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c index ece1787f2b7e..bae4743e5a50 100644 --- a/lib/libnetgraph/msg.c +++ b/lib/libnetgraph/msg.c @@ -115,7 +115,7 @@ NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) /* Get a bigger buffer to hold inner message header plus arg string */ if ((ascii = malloc(sizeof(struct ng_mesg) - + strlen(buf) + 1)) == NULL) { + + strlen(args) + 1)) == NULL) { free(buf); return (-1); } |
