summaryrefslogtreecommitdiff
path: root/bin/csh
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-25 10:03:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-25 10:03:49 +0000
commitcbbd67f605523823fcd9efb99be44b74248b2886 (patch)
tree4be1c72d78686f179d80f0ea4a2ab04663396038 /bin/csh
parent9417ff4b8c3dcc13f4df269fef50b6abedbe4656 (diff)
unsmoke drugs.
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/alloc.c6
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));
}