fix os parser
This commit is contained in:
parent
fe22f07134
commit
d4571a3f14
2 changed files with 15 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue