Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9176
b: refs/heads/master
c: 8e5cb35
h: refs/heads/master
v: v3
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Sep 21, 2005
1 parent f51ed35 commit cd24782
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 36decba90b184a25b7f77fb7df1612125cc41ac5
refs/heads/master: 8e5cb35a60c8792ffc3ba89ea66ebdd3c2f01cb1
6 changes: 6 additions & 0 deletions trunk/arch/um/kernel/user_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ void setup_machinename(char *machine_out)
struct utsname host;

uname(&host);
#if defined(UML_CONFIG_UML_X86) && !defined(UML_CONFIG_64BIT)
if (!strcmp(host.machine, "x86_64")) {
strcpy(machine_out, "i686");
return;
}
#endif
strcpy(machine_out, host.machine);
}

Expand Down

0 comments on commit cd24782

Please sign in to comment.