diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/csh/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/alloc.c b/bin/csh/alloc.c index 226c3a40034..6a3efa83c91 100644 --- a/bin/csh/alloc.c +++ b/bin/csh/alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alloc.c,v 1.5 2001/06/25 04:41:24 art Exp $ */ +/* $OpenBSD: alloc.c,v 1.6 2001/06/25 10:03:48 art Exp $ */ /* $NetBSD: alloc.c,v 1.6 1995/03/21 09:02:23 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)alloc.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: alloc.c,v 1.5 2001/06/25 04:41:24 art Exp $"; +static char rcsid[] = "$OpenBSD: alloc.c,v 1.6 2001/06/25 10:03:48 art Exp $"; #endif #endif /* not lint */ @@ -127,5 +127,5 @@ showall(v, t) { memtop = (char *) sbrk(0); (void) fprintf(cshout, "Allocated memory from 0x%lx to 0x%lx (%d).\n", - (unsigned long) membot, (unsigned long) memtop, (int)memtop - membot); + (unsigned long) membot, (unsigned long) memtop, (int)(memtop - membot)); } |