Skip to content

Commit e8b66af

Browse files
committed
get uname.c compiling
1 parent 128a067 commit e8b66af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

darwin-user/uname.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static int relstr_to_int(const char *s)
121121
int get_osversion(void)
122122
{
123123
static int osversion;
124-
struct new_utsname buf;
124+
struct utsname buf;
125125
const char *s;
126126

127127
if (osversion)
@@ -144,7 +144,7 @@ void init_qemu_uname_release(void)
144144
* a specific fake version number, we might want to fake a minimum
145145
* target kernel version.
146146
*/
147-
struct new_utsname buf;
147+
struct utsname buf;
148148

149149
if (qemu_uname_release && *qemu_uname_release) {
150150
return;

0 commit comments

Comments
 (0)