From 32f9e48f611498fff68f51647268674e71f3c9fb Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 19 Jul 2000 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2000-07-19 --- pc/devusb.c | 7 ------- port/sysfile.c | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pc/devusb.c b/pc/devusb.c index 7b34a7a346f175fbeb1622074d47ded190dbdb9e..6093572e1c733029a2440eb09523d211bd6ad5a7 100644 --- a/pc/devusb.c +++ b/pc/devusb.c @@ -20,13 +20,6 @@ #include "io.h" #include "../port/error.h" -/* -#ifndef Inferno -#include "devtab.h" -#include "brazilia.h" -#endif -*/ - #define Chatty 1 #define DPRINT if(Chatty)print #define XPRINT if(debug)print diff --git a/port/sysfile.c b/port/sysfile.c index a3cfa772365d65952acceaecaaa52afba152c8ef..f08348b7c0468ae82dbcedb67d5c09154434998d 100644 --- a/port/sysfile.c +++ b/port/sysfile.c @@ -26,7 +26,7 @@ growfd(Fgrp *f, int fd) /* fd is always >= 0 */ */ if(f->nfd >= 5000){ Exhausted: - exhausted("file descriptors"); + print("no free file descriptors\n"); return -1; } newfd = malloc((f->nfd+DELTAFD)*sizeof(Chan*));