diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index b38aa34380c..941d54fd128 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.266 2006/12/05 12:08:13 henning Exp $ */ +/* $OpenBSD: session.c,v 1.267 2007/01/23 17:41:22 claudio Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org> @@ -1188,7 +1188,7 @@ session_socket_blockmode(int fd, enum blockmodes bm) int flags; if ((flags = fcntl(fd, F_GETFL, 0)) == -1) - fatal("fnctl F_GETFL"); + fatal("fcntl F_GETFL"); if (bm == BM_NONBLOCK) flags |= O_NONBLOCK; @@ -1196,7 +1196,7 @@ session_socket_blockmode(int fd, enum blockmodes bm) flags &= ~O_NONBLOCK; if ((flags = fcntl(fd, F_SETFL, flags)) == -1) - fatal("fnctl F_SETFL"); + fatal("fcntl F_SETFL"); } void |