summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-01-23 17:39:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-01-23 17:39:34 +0000
commitc2630b259bfc1dfa735f263a58283c575c8b2c8e (patch)
tree487a6b472ac77502c31d781ad49aa13ce896e829 /usr.sbin
parentbd7c98999adac5cdcf25a35179dfe6bc62999184 (diff)
Typo in fatal() message found by dunceor @ gmail dot com
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c
index a1dc60ca629..58326eeced5 100644
--- a/usr.sbin/ospfd/control.c
+++ b/usr.sbin/ospfd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.15 2006/04/25 08:00:22 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.16 2007/01/23 17:39:33 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -291,7 +291,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;
@@ -299,5 +299,5 @@ 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");
}