summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/libpc98
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/pc98/libpc98')
-rw-r--r--sys/boot/pc98/libpc98/biosdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c
index dc98145..572e90c 100644
--- a/sys/boot/pc98/libpc98/biosdisk.c
+++ b/sys/boot/pc98/libpc98/biosdisk.c
@@ -296,7 +296,7 @@ display_size(uint64_t size)
size /= 1024;
unit = 'M';
}
- sprintf(buf, "%.6ld%cB", (long)size, unit);
+ sprintf(buf, "%6ld%cB", (long)size, unit);
return (buf);
}
OpenPOWER on IntegriCloud