From cse.psu.edu!owner-9fans Mon Sep  2 22:16:47 1996
Received: from cse.psu.edu ([130.203.3.50]) by cannon.ecf.toronto.edu with SMTP id <1387>; Mon, 2 Sep 1996 22:16:37 -0400
Received: from localhost (majordom@localhost) by cse.psu.edu (8.7.5/8.7.3) with SMTP id WAA15350; Mon, 2 Sep 1996 22:15:39 -0400 (EDT)
Received: by claven.cse.psu.edu (bulk_mailer v1.5); Mon, 2 Sep 1996 22:12:36 -0400
Received: (from majordom@localhost) by cse.psu.edu (8.7.5/8.7.3) id WAA15298 for 9fans-outgoing; Mon, 2 Sep 1996 22:12:28 -0400 (EDT)
X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f
Received: from ns.research.att.com (ns.research.att.com [192.20.225.4]) by cse.psu.edu (8.7.5/8.7.3) with SMTP id WAA15290 for <9fans@cse.psu.edu>; Mon, 2 Sep 1996 22:12:16 -0400 (EDT)
Received: from research.research.att.com by ns; Mon Sep  2 22:11:06 EDT 1996
Received: from corona.research.att.com by research; Mon Sep  2 22:10:55 EDT 1996
Received: (from rsc@localhost) by corona.research.att.com (8.7.5/8.7) id WAA26966 for 9fans@cse.psu.edu; Mon, 2 Sep 1996 22:12:58 -0400 (EDT)
Date:	Mon, 2 Sep 1996 22:12:58 -0400
Message-Id: <199609030212.WAA26966@corona.research.att.com>
From:	Russ Cox <rsc@research.att.com>
To:	9fans@cse.psu.edu
Subject: ls quibble
Sender: owner-9fans@cse.psu.edu
Reply-To: 9fans@cse.psu.edu
Precedence: bulk
Status: R

term% diff /sys/src/cmd/ls.c /sys/clean-src/cmd
190c190
< 		sprint(buf, "%lud", db->length);
---
> 		sprint(buf, "%ld", db->length);
220c220
< 		Bprint(&bin, "%M %C %*d %*s %s %*lud %s %s\n",
---
> 		Bprint(&bin, "%M %C %*d %*s %s %*ld %s %s\n",
term%

so that big hard drives (>2GB) have positive
sizes for /dev/hd?disk

