diff options
author | jmallett <jmallett@FreeBSD.org> | 2005-05-11 02:47:54 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2005-05-11 02:47:54 +0000 |
commit | 54cc31f4459b6dc3497f604d3c2cce15bea60c28 (patch) | |
tree | 0408a8c534878b6d1738d7446b19d6a2f08b46e8 /usr.sbin/mount_portalfs | |
parent | fe1cf0e37d730f79c928093f090f1ba445961727 (diff) | |
download | FreeBSD-src-54cc31f4459b6dc3497f604d3c2cce15bea60c28.zip FreeBSD-src-54cc31f4459b6dc3497f604d3c2cce15bea60c28.tar.gz |
Spell out shutdown(2)'s how argument in #ifdef notdef'd code.
Diffstat (limited to 'usr.sbin/mount_portalfs')
-rw-r--r-- | usr.sbin/mount_portalfs/activate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mount_portalfs/activate.c b/usr.sbin/mount_portalfs/activate.c index a6123f1..2d00178 100644 --- a/usr.sbin/mount_portalfs/activate.c +++ b/usr.sbin/mount_portalfs/activate.c @@ -149,7 +149,7 @@ int error; #endif sleep(1); /*XXX*/ #ifdef notdef - if (shutdown(so, 2) < 0) + if (shutdown(so, SHUT_RDWR) < 0) syslog(LOG_ERR, "shutdown: %s", strerror(errno)); #endif /* |