You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
464 B

  1. --- a/newfs_hfs.tproj/makehfs.c
  2. +++ b/newfs_hfs.tproj/makehfs.c
  3. @@ -2119,10 +2119,12 @@ void GenerateVolumeUUID(VolumeUUID *newV
  4. sysctl(mib, 2, sysctlstring, &datalen, NULL, 0);
  5. SHA1_Update(&context, sysctlstring, datalen);
  6. #endif
  7. +#ifndef __UCLIBC__
  8. /* The system's load average: */
  9. datalen = sizeof(sysloadavg);
  10. getloadavg(sysloadavg, 3);
  11. SHA1_Update(&context, &sysloadavg, datalen);
  12. +#endif
  13. /* The system's VM statistics: */
  14. #if !LINUX