summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-07-18 12:24:35 +0000
committertjr <tjr@FreeBSD.org>2002-07-18 12:24:35 +0000
commit74e419398d4926ad53710ab09e0e61dea93c80be (patch)
tree9d000a304c424d8aab75642d42c53a9e75b1d48f /bin/sh
parentba20a0e55fbcac280886e26df9be64197338ea00 (diff)
downloadFreeBSD-src-74e419398d4926ad53710ab09e0e61dea93c80be.zip
FreeBSD-src-74e419398d4926ad53710ab09e0e61dea93c80be.tar.gz
Don't assume file descriptors fit in a short, use an int instead.
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/redir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/redir.c b/bin/sh/redir.c
index d1d46eb..ed48f9f 100644
--- a/bin/sh/redir.c
+++ b/bin/sh/redir.c
@@ -73,7 +73,7 @@ __FBSDID("$FreeBSD$");
MKINIT
struct redirtab {
struct redirtab *next;
- short renamed[10];
+ int renamed[10];
};
OpenPOWER on IntegriCloud