summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/control.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2007-01-23 17:38:10 +0000
committerclaudio <claudio@openbsd.org>2007-01-23 17:38:10 +0000
commitd131ba94dd386be117274f8798a8c699b0f3f41a (patch)
tree52f4e4f6cbc7559efaad7d7f9c44886c9dfd240d /usr.sbin/ripd/control.c
parentWhen acting as a server do not blindly remove (diff)
downloadwireguard-openbsd-d131ba94dd386be117274f8798a8c699b0f3f41a.tar.xz
wireguard-openbsd-d131ba94dd386be117274f8798a8c699b0f3f41a.zip
Typo in fatal() message found by dunceor @ gmail dot com
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");
}