Browse Source

Typo in fatal() message found by dunceor @ gmail dot com

OPENBSD_4_1
claudio 18 years ago
parent
commit
3b46e875e2
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/usr.sbin/ntpd/sensors.c

+ 3
- 3
src/usr.sbin/ntpd/sensors.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: sensors.c,v 1.31 2007/01/15 19:58:49 henning Exp $ */
/* $OpenBSD: sensors.c,v 1.32 2007/01/23 17:44:38 claudio Exp $ */
/*
* Copyright (c) 2006 Henning Brauer <henning@openbsd.org>
@ -232,10 +232,10 @@ sensor_hotplugfd(void)
}
if ((flags = fcntl(fd, F_GETFL, 0)) == -1)
fatal("fnctl F_GETFL");
fatal("fcntl F_GETFL");
flags |= O_NONBLOCK;
if ((flags = fcntl(fd, F_SETFL, flags)) == -1)
fatal("fnctl F_SETFL");
fatal("fcntl F_SETFL");
return (fd);
#else


Loading…
Cancel
Save