diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-01-23 17:41:23 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-01-23 17:41:23 +0000 |
commit | e3076178d8dbe1a194d14c18b71a042b4b1ff945 (patch) | |
tree | 12172635e6deb98e393a7927fbee55f5a994801e | |
parent | c2630b259bfc1dfa735f263a58283c575c8b2c8e (diff) |
Typo in fatal() message found by dunceor @ gmail dot com
-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 |