mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-06 02:26:34 +00:00
a734bf2478
Co-Authored-By: kawanakaiku <80381779+kawanakaiku@users.noreply.github.com>
14 lines
359 B
Diff
14 lines
359 B
Diff
--- a/src/pkg_columnizer.cc
|
|
+++ b/src/pkg_columnizer.cc
|
|
@@ -397,8 +397,8 @@
|
|
break;
|
|
case diskusage:
|
|
{
|
|
- size_t bufsize = 256;
|
|
- char buf[bufsize] = "";
|
|
+ const size_t bufsize = 256;
|
|
+ char buf[bufsize] = {};
|
|
if (apt_cache_file && ((*apt_cache_file)->UsrSize() != 0))
|
|
{
|
|
char sign = ((*apt_cache_file)->UsrSize() > 0) ? '+' : '-';
|