From 32febd4f574911c90ae2d543f061b33379f200a7 Mon Sep 17 00:00:00 2001 From: hpa Date: Fri, 28 May 2004 19:03:18 +0000 Subject: [PATCH] Fix to the nomtools installed: mypid uninitialized --- NEWS | 2 ++ syslinux-nomtools.c | 1 + 2 files changed, 3 insertions(+) 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; -- 2.7.4