os parser fix

This commit is contained in:
Your Name 2023-12-15 22:24:22 +03:00
parent e6dc62953b
commit fe22f07134
2 changed files with 19 additions and 12 deletions

View file

@ -14,7 +14,9 @@
#define OS_SIZE 128
typedef struct {
char os_name[OS_SIZE + 1];
char os_buf[OS_SIZE + 1];
char *os_name;
struct utsname uts;
char *pkg_cmd;