From 6fb1562592de6038afa5d0203be3e91f2517377a Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 21 Feb 2008 23:51:45 +0000 Subject: [PATCH] Branch HEAD Trivial whitespace cleanup. --- lustre/utils/mkfs_lustre.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index f64a86f4..0c1cd45 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -269,6 +269,7 @@ int loop_setup(struct mkfs_opts *mop) for (i = 0; i < MAX_LOOP_DEVICES; i++) { char cmd[PATH_MAX]; int cmdsz = sizeof(cmd); + sprintf(l_device, "%s%d", loop_base, i); if (access(l_device, F_OK | R_OK)) break; @@ -1321,7 +1322,7 @@ int parse_opts(int argc, char *const argv[], struct mkfs_opts *mop, fprintf(stderr, "Bad argument: %s\n", argv[optind]); return EINVAL; } - + return 0; } -- 1.8.3.1