aboutsummaryrefslogtreecommitdiffstats
path: root/mtools
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-05-03 17:32:15 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-05-03 17:32:15 -0700
commit28eecd8965aedbd75727fb0797a2e7033d5c54ee (patch)
tree1cac9ffc5f7fe7fd82d59b4accd7b8cf85762f74 /mtools
parentf8c463722022008c8412a69f90576d2bf38818ed (diff)
downloadsyslinux.git-28eecd8965aedbd75727fb0797a2e7033d5c54ee.tar.gz
syslinux.git-28eecd8965aedbd75727fb0797a2e7033d5c54ee.tar.xz
syslinux.git-28eecd8965aedbd75727fb0797a2e7033d5c54ee.zip
Across-the-board stealth whitespace cleanup
Diffstat (limited to 'mtools')
-rw-r--r--mtools/Makefile3
-rw-r--r--mtools/syslinux.c10
2 files changed, 5 insertions, 8 deletions
diff --git a/mtools/Makefile b/mtools/Makefile
index 920c85af..26909a30 100644
--- a/mtools/Makefile
+++ b/mtools/Makefile
@@ -35,6 +35,3 @@ syslinux: $(OBJS)
$(CC) $(CFLAGS) -S -o $@ $<
-include .*.d
-
-
-
diff --git a/mtools/syslinux.c b/mtools/syslinux.c
index d7ff0a89..5d939c3f 100644
--- a/mtools/syslinux.c
+++ b/mtools/syslinux.c
@@ -1,6 +1,6 @@
#ident "$Id$"
/* ----------------------------------------------------------------------- *
- *
+ *
* Copyright 1998-2004 H. Peter Anvin - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
@@ -144,7 +144,7 @@ int main(int argc, char *argv[])
mypid = getpid();
program = argv[0];
-
+
device = NULL;
for ( argp = argv+1 ; *argp ; argp++ ) {
@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
}
xpread(dev_fd, sectbuf, 512, filesystem_offset);
-
+
/*
* Check to see that what we got was indeed an MS-DOS boot sector/superblock
*/
@@ -217,7 +217,7 @@ int main(int argc, char *argv[])
dev_fd,
(unsigned long long)filesystem_offset);
fclose(mtc);
-
+
/*
* Run mtools to create the LDLINUX.SYS file
*/
@@ -231,7 +231,7 @@ int main(int argc, char *argv[])
mtp = popen("mcopy -D o -D O -o - s:ldlinux.sys", "w");
if ( !mtp ||
- (fwrite(syslinux_ldlinux, 1, syslinux_ldlinux_len, mtp)
+ (fwrite(syslinux_ldlinux, 1, syslinux_ldlinux_len, mtp)
!= syslinux_ldlinux_len) ||
(status = pclose(mtp), !WIFEXITED(status) || WEXITSTATUS(status)) ) {
die("failed to create ldlinux.sys");