Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/coreutils/coreutils-8.30-uname-i486.patch
blob: f78726938317cf855e83bd0c114c60581f4928ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rauN coreutils-8.30/src/uname.c coreutils-8.30-uname-patch-i486/src/uname.c
--- coreutils-8.30/src/uname.c	2018-05-14 06:20:24.000000000 +0200
+++ coreutils-8.30-uname-patch-i486/src/uname.c	2019-01-28 21:12:09.151041534 +0100
@@ -285,6 +285,8 @@
 
       if (uname (&name) == -1)
         die (EXIT_FAILURE, errno, _("cannot get system name"));
+      
+      strcpy(name.machine, "i486");
 
       if (toprint & PRINT_KERNEL_NAME)
         print_element (name.sysname);