From: hpa Date: Fri, 28 May 2004 19:03:18 +0000 (+0000) Subject: Fix to the nomtools installed: mypid uninitialized X-Git-Tag: syslinux-3.11~428 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32febd4f574911c90ae2d543f061b33379f200a7;p=platform%2Fupstream%2Fsyslinux.git Fix to the nomtools installed: mypid uninitialized --- diff --git a/NEWS b/NEWS index 2895e7c..de8f1da 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,8 @@ Changes in 2.10: * Major menu improvement from Murali Ganapathy. * ISOLINUX: Wonderfully sick and brilliant workaround for severe bugs in certain Award BIOSes; from Knut Petersen. + * SYSLINUX: Fix for the nomtools installed, from Frederic + Pasteleurs. Changes in 2.09: * SYSLINUX: Remove residual setuid crap from diff --git a/syslinux-nomtools.c b/syslinux-nomtools.c index d49efec..f438343 100644 --- a/syslinux-nomtools.c +++ b/syslinux-nomtools.c @@ -130,6 +130,7 @@ int main(int argc, char *argv[]) off_t offset = 0; /* -o (offset) option */ program = argv[0]; + mypid = getpid(); device = NULL;