summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hoststated/control.c6
-rw-r--r--usr.sbin/relayd/control.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/hoststated/control.c b/usr.sbin/hoststated/control.c
index e16f8f55879..46ac0e87ec8 100644
--- a/usr.sbin/hoststated/control.c
+++ b/usr.sbin/hoststated/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.8 2007/01/09 13:50:11 pyr Exp $ */
+/* $OpenBSD: control.c,v 1.9 2007/01/23 17:43:36 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -328,7 +328,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;
@@ -336,5 +336,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");
}
diff --git a/usr.sbin/relayd/control.c b/usr.sbin/relayd/control.c
index e16f8f55879..46ac0e87ec8 100644
--- a/usr.sbin/relayd/control.c
+++ b/usr.sbin/relayd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.8 2007/01/09 13:50:11 pyr Exp $ */
+/* $OpenBSD: control.c,v 1.9 2007/01/23 17:43:36 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -328,7 +328,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;
@@ -336,5 +336,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");
}