Skip to content
Snippets Groups Projects
Commit 5926b615 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Improved an error message.

Rev: src/fd_control.c:1.20
parent 6463929a
Branches
Tags
No related merge requests found
......@@ -9,7 +9,7 @@
#include "error.h"
#include "fdlib.h"
RCSID("$Id: fd_control.c,v 1.19 1998/07/04 01:06:39 grubba Exp $");
RCSID("$Id: fd_control.c,v 1.20 1998/07/15 13:59:12 grubba Exp $");
#else
#ifndef _LARGEFILE_SOURCE
......@@ -58,7 +58,8 @@ int set_nonblocking(int fd,int which)
{
#ifdef DEBUG
if(fd<0 || fd >MAX_OPEN_FILEDESCRIPTORS)
fatal("Filedescriptor out of range.\n");
fatal("Filedescriptor %d out of range [0,%d).\n",
fd, MAX_OPEN_FILEDESCRIPTORS);
#endif
#if defined(USE_IOCTL_FIONBIO) || defined(__NT__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment