- Fixed warnings in sysinfo patch (bug #203166).

This commit is contained in:
Tim Waugh 2006-08-24 15:59:31 +00:00
parent 01672f838b
commit 4365a0d8e4
2 changed files with 1 additions and 9 deletions

View File

@ -38,15 +38,6 @@
#endif #endif
#ifdef UNAME_PROCESSOR #ifdef UNAME_PROCESSOR
if (element == unknown) 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 @@ @@ -270,6 +292,14 @@
hardware_platform, sizeof hardware_platform)) hardware_platform, sizeof hardware_platform))
element = hardware_platform; element = hardware_platform;

View File

@ -281,6 +281,7 @@ fi
%changelog %changelog
* Thu Aug 24 2006 Tim Waugh <twaugh@redhat.com> * Thu Aug 24 2006 Tim Waugh <twaugh@redhat.com>
- Fixed warnings in sysinfo patch (bug #203166).
- Fixed warnings in selinux patch (bug #203166). - Fixed warnings in selinux patch (bug #203166).
- Fixed warnings in acl patch (bug #203166). - Fixed warnings in acl patch (bug #203166).