mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
Increase size of intermediate buffers
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
14555d7a7b
commit
dc5b1a5980
1 file changed
+1
-1
+1
-1
@@ -71,7 +71,7 @@ long jiffies(void)
|
||||
char *uptime(long secs, char *buf, size_t len)
|
||||
{
|
||||
long mins, hours, days, years;
|
||||
char y[11] = "", d[9] = "", h[9] = "", m[9] = "", s[9] = "";
|
||||
char y[20] = "", d[20] = "", h[20] = "", m[20] = "", s[20] = "";
|
||||
|
||||
if (!buf) {
|
||||
errno = EINVAL;
|
||||
|
||||
Reference in new issue
Block a user