diff options
author | Bill Nottingham <notting@redhat.com> | 2008-01-10 19:26:20 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-01-10 19:26:20 +0000 |
commit | 8a5a8df51e533ac5e3155fb55f35beb61db92ccb (patch) | |
tree | 38265a324ffa62d059d12691ca48d6eadb1bdeb2 /src | |
parent | 77f4e608b7439c405d640783704cecd288b01d01 (diff) | |
download | initscripts-8a5a8df51e533ac5e3155fb55f35beb61db92ccb.tar initscripts-8a5a8df51e533ac5e3155fb55f35beb61db92ccb.tar.gz initscripts-8a5a8df51e533ac5e3155fb55f35beb61db92ccb.tar.bz2 initscripts-8a5a8df51e533ac5e3155fb55f35beb61db92ccb.tar.xz initscripts-8a5a8df51e533ac5e3155fb55f35beb61db92ccb.zip |
fix genhostid on x86_64 (#306811)
Diffstat (limited to 'src')
-rw-r--r-- | src/genhostid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genhostid.c b/src/genhostid.c index a56cad83..c3a169db 100644 --- a/src/genhostid.c +++ b/src/genhostid.c @@ -28,5 +28,5 @@ main (void) srand48 ((long int) time (NULL) ^ (long int) getpid ()); n = lrand48 (); } - return sethostid (n); + return sethostid ((int32_t)n); } |