From b5ffdf8011c36d1366bb497a1fab9596c3d2eb54 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 23 Dec 2005 06:07:10 +0000 Subject: [PATCH] Branch b_release_1_4_6 Fix error message argument order b=9788 r=nathan (original fix) --- lustre/utils/llmount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/utils/llmount.c b/lustre/utils/llmount.c index dd5841f..ae4beb3 100644 --- a/lustre/utils/llmount.c +++ b/lustre/utils/llmount.c @@ -430,8 +430,8 @@ int main(int argc, char *const argv[]) if (!fake) rc = mount(source, target, "lustre", flags, (void *)&lmd); if (rc) { - fprintf(stderr, "%s: mount(%s, %s) failed: %s\n", source, - target, progname, strerror(errno)); + fprintf(stderr, "%s: mount(%s, %s) failed: %s\n", progname, + source, target, strerror(errno)); if (errno == ENODEV) fprintf(stderr, "Are the lustre modules loaded?\n" "Check /etc/modules.conf and /proc/filesystems\n"); -- 1.8.3.1