summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevyn Shortell <trance@gentoo.org>2002-07-11 08:02:14 +0000
committerKevyn Shortell <trance@gentoo.org>2002-07-11 08:02:14 +0000
commit6d333a595dd68ae06da3075adcdfe1166cc93b62 (patch)
treeafd592e5c7ace706d2b92036467b15f47ded0faf /sys-apps/sh-utils
parentAdded support for CPU model type on PPC (diff)
downloadhistorical-6d333a595dd68ae06da3075adcdfe1166cc93b62.tar.gz
historical-6d333a595dd68ae06da3075adcdfe1166cc93b62.tar.bz2
historical-6d333a595dd68ae06da3075adcdfe1166cc93b62.zip
removed change, as it borked x86.
Diffstat (limited to 'sys-apps/sh-utils')
-rw-r--r--sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff b/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff
index 8d414257fc7f..8e3886434919 100644
--- a/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff
+++ b/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff
@@ -106,7 +106,7 @@ diff -ur ./src/uname.c ./src/uname.c.new
+ while ( fscanf(ffd, "%s :", temp_string) != EOF)
+ if ( (!(strcmp(temp_string, "vendor_id"))) ||
+ (!(strcmp(temp_string, "cpu" ))) ) {
-+ fscanf(ffd, "%*[^0-9]%[^ ,]", final_string);
++ fscanf(ffd, "%s", final_string);
+ break;
+ }
+ fclose(ffd);