Silenced compiler warnings by fixing micro bugs.

This commit is contained in:
Thomas Schmitt 2012-05-28 09:27:07 +02:00
parent e9eb22f514
commit 63df7749fa
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
#include "filesrc.h"
#include "ecma119.h"
#include "eltorito.h"
#include "system_area.h"
/* This code stems from syslinux-3.72/utils/isohybrid, a perl script

View File

@ -1251,8 +1251,8 @@ void iso_random_uuid(Ecma119Image *t, uint8_t uuid[16])
#else
salt = iso_crc32_gpt((unsigned char *) t, sizeof(Ecma119Image), 0);
salt ^= getpid();
pid = getpid();
salt = iso_crc32_gpt((unsigned char *) t, sizeof(Ecma119Image), 0) ^ pid;
/* This relies on the uniqueness of the template and the rareness of
bootable ISO image production via libisofs. Estimated 53 bits of