aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2004-05-28 19:03:18 +0000
committerhpa <hpa>2004-05-28 19:03:18 +0000
commit32febd4f574911c90ae2d543f061b33379f200a7 (patch)
treefc1a74c8a919044d502c637b2e31f68e285762fe
parent76dab29d399d3cbcdc87e56b3ee90517628eaf60 (diff)
downloadsyslinux-2.10-pre4.tar.gz
syslinux-2.10-pre4.tar.xz
syslinux-2.10-pre4.zip
Fix to the nomtools installed: mypid uninitializedsyslinux-2.10-pre4
-rw-r--r--NEWS2
-rw-r--r--syslinux-nomtools.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2895e7c6..de8f1da7 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 d49efec7..f4383434 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;