Whamcloud - gitweb
Branch b_release_1_4_6
authoradilger <adilger>
Fri, 23 Dec 2005 06:07:10 +0000 (06:07 +0000)
committeradilger <adilger>
Fri, 23 Dec 2005 06:07:10 +0000 (06:07 +0000)
Fix error message argument order
b=9788
r=nathan (original fix)

lustre/utils/llmount.c

index dd5841f..ae4beb3 100644 (file)
@@ -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");