summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-02-23 02:39:54 +0000
committerkrw <krw@openbsd.org>2016-02-23 02:39:54 +0000
commit5fe7278220d5fa7615a2fa12264a12d316040e0e (patch)
tree6b9f900acb5303f2f8519ab8a3945009b1aad65f /lib/libc/stdlib/malloc.c
parentIn the great pdisk churn we lost a pdisk pecularity in disk name (diff)
downloadwireguard-openbsd-5fe7278220d5fa7615a2fa12264a12d316040e0e.tar.xz
wireguard-openbsd-5fe7278220d5fa7615a2fa12264a12d316040e0e.zip
Fix display of pdisk partition sizes by casting the 32-bit number
of blocks to (long long) before multiplying by 512 and passing the value to fmt_scaled(). Discovered and fix tested by rpe@. ok rpe@ deraadt@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions