Browse Source

fix error message, Benedikt Steinbusch <bsteinb@hamazone.de>

OPENBSD_3_7
henning 20 years ago
parent
commit
1b0777efc4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/imsg.c

+ 2
- 2
src/usr.sbin/ntpd/imsg.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: imsg.c,v 1.7 2004/09/16 01:13:42 henning Exp $ */
/* $OpenBSD: imsg.c,v 1.8 2005/03/06 18:36:52 henning Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -156,7 +156,7 @@ imsg_close(struct imsgbuf *ibuf, struct buf *msg)
int n; int n;
if ((n = buf_close(&ibuf->w, msg)) < 0) { if ((n = buf_close(&ibuf->w, msg)) < 0) {
log_warnx("imsg_close: buf_add error");
log_warnx("imsg_close: buf_close error");
buf_free(msg); buf_free(msg);
return (-1); return (-1);
} }


Loading…
Cancel
Save