summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fd.c b/fd.c
index 8f824d6..3fa07d1 100644
--- a/fd.c
+++ b/fd.c
@@ -105,7 +105,7 @@ InitializeFD(void)
panic("Can't allocate memory for file descriptor table");
}
FDinfo = calloc(MaxFD, sizeof (struct fdinfo));
- if (FDD == NULL) {
+ if (FDinfo == NULL) {
panic("Can't allocate memory for file descriptor info table");
}