summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-01-23 17:38:11 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-01-23 17:38:11 +0000
commitbd7c98999adac5cdcf25a35179dfe6bc62999184 (patch)
tree5f8041a627ab227bf6f20e62c5a7b24c655e1da2 /usr.sbin/ripd
parente0753a1efc1700957dff874d51078176c5a1bc17 (diff)
Typo in fatal() message found by dunceor @ gmail dot com
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r--usr.sbin/ripd/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ripd/control.c b/usr.sbin/ripd/control.c
index 77b3101cf41..dda14acb4dc 100644
--- a/usr.sbin/ripd/control.c
+++ b/usr.sbin/ripd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: control.c,v 1.2 2007/01/23 17:38:10 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -288,7 +288,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;
@@ -296,5 +296,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");
}