fix os parser

This commit is contained in:
Your Name 2023-12-16 18:58:30 +03:00
parent fe22f07134
commit d4571a3f14
2 changed files with 15 additions and 16 deletions

View file

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