if(size < 1024) {
snprintf(buffer,
buffer_size,
- "% 7d -- %s\n",
+ "% 8d -- %s\n",
((int) size),
filename);
} else if(size < 1024 * 1024) {
snprintf(buffer,
buffer_size,
- "% 6.1fK -- %s\n",
+ "% 7.1fK -- %s\n",
((double) (size))/(1024.0),
filename);
} else if(size < 1024 * 1024 * 1024) {
snprintf(buffer,
buffer_size,
- "% 6.1fM -- %s\n",
+ "% 7.1fM -- %s\n",
((double) (size))/(1024.0 * 1024),
filename);
} else {
snprintf(buffer,
buffer_size,
- "% 6.1fG -- %s\n",
+ "% 7.1fG -- %s\n",
((double) (size))/(1024.0 * 1024.0 * 1024.0),
filename);
}