summaryrefslogtreecommitdiff
path: root/sbin/mount_portal/activate.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1999-01-21 00:55:32 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1999-01-21 00:55:32 +0000
commit76b5366091f76c9bc73570149ef5055648fc2c39 (patch)
tree590d020e0f2a5bea6e09d66d951a674443b21d67 /sbin/mount_portal/activate.c
parent4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff)
Notes
Diffstat (limited to 'sbin/mount_portal/activate.c')
-rw-r--r--sbin/mount_portal/activate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_portal/activate.c b/sbin/mount_portal/activate.c
index 6eb0c582753ac..5bbd3b5a71065 100644
--- a/sbin/mount_portal/activate.c
+++ b/sbin/mount_portal/activate.c
@@ -39,7 +39,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: activate.c,v 1.5 1998/07/06 07:19:23 charnier Exp $";
+ "$Id$";
#endif /* not lint */
#include <errno.h>
@@ -148,7 +148,7 @@ int error;
/*
* Send to kernel...
*/
- if ((n = sendmsg(so, &msg, 0)) < 0)
+ if ((n = sendmsg(so, &msg, MSG_EOR)) < 0)
syslog(LOG_ERR, "send: %s", strerror(errno));
#ifdef DEBUG
fprintf(stderr, "sent %d bytes\n", n);