summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-01-23 17:42:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-01-23 17:42:34 +0000
commitfbbebe9a2f1b806b11d7addc7c45e40b12e4aeba (patch)
treec32511fa8f34d8738ba3f1154f858fdb6535fe30 /usr.sbin
parente3076178d8dbe1a194d14c18b71a042b4b1ff945 (diff)
Typo in fatal() message found by dunceor @ gmail dot com
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dvmrpd/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dvmrpd/control.c b/usr.sbin/dvmrpd/control.c
index 04664401437..eb7ca83cb2a 100644
--- a/usr.sbin/dvmrpd/control.c
+++ b/usr.sbin/dvmrpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.1 2006/06/01 14:12:20 norby Exp $ */
+/* $OpenBSD: control.c,v 1.2 2007/01/23 17:42:33 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -285,7 +285,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;
@@ -293,5 +293,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");
}