diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-01-23 17:43:37 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-01-23 17:43:37 +0000 |
commit | 235a2dc3facdcbc2d0dfae2b3b870f1d6ced5c71 (patch) | |
tree | 7a08b30af992dcc4220029750af21d3374a20c0f /usr.sbin | |
parent | fbbebe9a2f1b806b11d7addc7c45e40b12e4aeba (diff) |
Typo in fatal() message found by dunceor @ gmail dot com
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/hoststated/control.c | 6 | ||||
-rw-r--r-- | usr.sbin/relayd/control.c | 6 |
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"); } |