summaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox-uname-is-not-gnu.patch
blob: 95b31394c360b8c47791fc3a552953a760d36214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- busybox-1.18.2.orig/coreutils/uname.c
+++ busybox-1.18.2/coreutils/uname.c
@@ -56,7 +56,7 @@
 	struct utsname name;
 	char processor[sizeof(((struct utsname*)NULL)->machine)];
 	char platform[sizeof(((struct utsname*)NULL)->machine)];
-	char os[sizeof("GNU/Linux")];
+	char os[sizeof("Linux")];
 } uname_info_t;
 
 static const char options[] ALIGN1 = "snrvmpioa";
@@ -123,7 +123,7 @@
 #endif
 	strcpy(uname_info.processor, unknown_str);
 	strcpy(uname_info.platform, unknown_str);
-	strcpy(uname_info.os, "GNU/Linux");
+	strcpy(uname_info.os, "Linux");
 #if 0
 	/* Fedora does something like this */
 	strcpy(uname_info.processor, uname_info.name.machine);