summaryrefslogtreecommitdiffstats
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 0fb5f56..8ac00d6 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -177,7 +177,7 @@ https://msdn.microsoft.com/en-us/library/windows/desktop/ms724834%28v=vs.85%29.a
struct utsname Ver;
if(uname(&Ver)==0)
{
- static char buffer[100] = {0x00};
+ static char buffer[512] = {0x00};
snprintf(buffer, sizeof(buffer) - 1, "%s, kernel %s (%s) %s",
Ver.sysname, Ver.release, Ver.version, Ver.machine);
return buffer;