summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ripd/control.c')
-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");
}