From 4365a0d8e46c8c5df35b0c76842f9bb589142733 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 24 Aug 2006 15:59:31 +0000 Subject: [PATCH] - Fixed warnings in sysinfo patch (bug #203166). --- coreutils-4.5.3-sysinfo.patch | 9 --------- coreutils.spec | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/coreutils-4.5.3-sysinfo.patch b/coreutils-4.5.3-sysinfo.patch index 3e215ac..0c43d2b 100644 --- a/coreutils-4.5.3-sysinfo.patch +++ b/coreutils-4.5.3-sysinfo.patch @@ -38,15 +38,6 @@ #endif #ifdef UNAME_PROCESSOR if (element == unknown) -@@ -262,7 +284,7 @@ - - if (toprint & PRINT_HARDWARE_PLATFORM) - { -- char const *element = unknown; -+ char *element = unknown; - #if HAVE_SYSINFO && defined SI_PLATFORM - { - static char hardware_platform[257]; @@ -270,6 +292,14 @@ hardware_platform, sizeof hardware_platform)) element = hardware_platform; diff --git a/coreutils.spec b/coreutils.spec index d859876..c413bd7 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -281,6 +281,7 @@ fi %changelog * Thu Aug 24 2006 Tim Waugh +- Fixed warnings in sysinfo patch (bug #203166). - Fixed warnings in selinux patch (bug #203166). - Fixed warnings in acl patch (bug #203166).