[mythtv] patch to add disk space info to 6544 port connections
Robert Kulagowski
bob at smalltime.com
Mon Sep 22 08:24:12 EDT 2003
> + os << "<P>Disk Usage:\r\n";
> +
> + os << "<LI>Total Space: ";
> + rep.sprintf(tr("%d,%03d MB "), (iTotal) / 1000,
> + (iTotal) % 1000);
> + os << rep << "\r\n";
> +
> + os << "<LI>Space Used: ";
> + rep.sprintf(tr("%d,%03d MB "), (iUsed) / 1000,
> + (iUsed) % 1000);
> + os << rep << "\r\n";
> +
> + os << "<LI>Space Free: ";
> + rep.sprintf(tr("%d,%03d MB "), (iTotal - iUsed) / 1000,
> + (iTotal - iUsed) % 1000);
Shouldn't these be binary megabytes instead of marketing megabytes? (Or
am I not seeing something?)
More information about the mythtv-dev
mailing list