aboutsummaryrefslogtreecommitdiffstats
path: root/mtools
diff options
context:
space:
mode:
Diffstat (limited to 'mtools')
-rwxr-xr-x[-rw-r--r--]mtools/Makefile0
-rwxr-xr-x[-rw-r--r--]mtools/syslinux.c1
2 files changed, 1 insertions, 0 deletions
diff --git a/mtools/Makefile b/mtools/Makefile
index 6164d24c..6164d24c 100644..100755
--- a/mtools/Makefile
+++ b/mtools/Makefile
diff --git a/mtools/syslinux.c b/mtools/syslinux.c
index b5f52000..ac189c61 100644..100755
--- a/mtools/syslinux.c
+++ b/mtools/syslinux.c
@@ -221,6 +221,7 @@ int main(int argc, char *argv[])
" offset=%llu\n",
(unsigned long)mypid,
dev_fd, (unsigned long long)opt.offset);
+
if (ferror(mtc) || fclose(mtc))
die_err(mtools_conf);