aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/sh.hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/sh.hist.c')
-rw-r--r--contrib/tcsh/sh.hist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcsh/sh.hist.c b/contrib/tcsh/sh.hist.c
index a2889dd1451d..639f5e9ac0fb 100644
--- a/contrib/tcsh/sh.hist.c
+++ b/contrib/tcsh/sh.hist.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/sh.hist.c,v 3.26 1999/02/06 15:01:23 christos Exp $ */
+/* $Header: /src/pub/tcsh/sh.hist.c,v 3.27 2000/06/10 22:07:56 kim Exp $ */
/*
* sh.hist.c: Shell history expansions and substitutions
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: sh.hist.c,v 3.26 1999/02/06 15:01:23 christos Exp $")
+RCSID("$Id: sh.hist.c,v 3.27 2000/06/10 22:07:56 kim Exp $")
#include "tc.h"
@@ -376,7 +376,7 @@ fmthist(fmt, ptr, buf, bufsiz)
else {
Char ibuf[INBUFSIZE], *ip;
char *p;
- (void) sprlex(ibuf, sizeof(ibuf), &hp->Hlex);
+ (void) sprlex(ibuf, sizeof(ibuf) / sizeof(Char), &hp->Hlex);
for (p = buf, ip = ibuf; (*p++ = (CHAR & *ip++)) != '\0'; )
continue;
}