Silenced compiler warnings by fixing micro bugs.
This commit is contained in:
parent
e9eb22f514
commit
63df7749fa
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user