human-readable swap partition sizes with pstat -sh
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Mar 20 04:43:21 PST 2005
On Sun, Mar 20, 2005 at 10:11:04AM +0200, Giorgos Keramidas wrote:
+> On 2005-01-06 23:58, Pawel Jakub Dawidek <pjd at freebsd.org> wrote:
+> > I like intmax_t also much better than int64_t, but I took it from
+> > NetBSD and they got int64_t there. Anyway, I think we don't have to be
+> > 100% compatible here and I'll look what can be done.
+>
+> Bearing this in mind, is it ok then if I commit the pstat changes shown
+> below, which use intmax_t or is it better to change all the intmax_t
+> instances in pstat.c to int64_t?
Use int64_t. We decided not to use intmax_t in humanize_number(3), because
then we need to include inttypes.h from libutil.h and this is just too
nasty.
The patch looks ok.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050320/f541985d/attachment.bin
More information about the freebsd-current
mailing list