From efc6f628e15de95bcd13e4f0ee223cb42115d520 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 27 Aug 2008 23:07:54 -0400 Subject: Remove trailing whitespace for the entire source tree Signed-off-by: "Theodore Ts'o" --- misc/partinfo.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'misc/partinfo.c') diff --git a/misc/partinfo.c b/misc/partinfo.c index 149a193b..48b395f6 100644 --- a/misc/partinfo.c +++ b/misc/partinfo.c @@ -4,7 +4,7 @@ * Originally written by Alain Knaff, . * * Cleaned up by Theodore Ts'o, . - * + * */ #include @@ -41,7 +41,7 @@ int main(int argc, char **argv) "For example: %s /dev/hda\n\n"), argv[0], argv[0]); exit(1); } - + for (i=1; i < argc; i++) { fd = open(argv[i], O_RDONLY); @@ -50,24 +50,24 @@ int main(int argc, char **argv) argv[i], strerror(errno)); continue; } - + if (ioctl(fd, HDIO_GETGEO, &loc) < 0) { fprintf(stderr, _("Cannot get geometry of %s: %s"), argv[i], strerror(errno)); close(fd); continue; } - - + + if (ioctl(fd, BLKGETSIZE, &size) < 0) { fprintf(stderr, _("Cannot get size of %s: %s"), argv[i], strerror(errno)); close(fd); continue; } - + printf(_("%s: h=%3d s=%3d c=%4d start=%8d size=%8lu end=%8d\n"), - argv[i], + argv[i], loc.heads, (int)loc.sectors, loc.cylinders, (int)loc.start, size, (int) loc.start + size -1); close(fd); -- cgit v1.2.3