Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c90f1f
)
Branch b_release_1_4_6
author
adilger
<adilger>
Fri, 23 Dec 2005 06:07:10 +0000
(06:07 +0000)
committer
adilger
<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
patch
|
blob
|
history
diff --git
a/lustre/utils/llmount.c
b/lustre/utils/llmount.c
index
dd5841f
..
ae4beb3
100644
(file)
--- 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",
sourc
e,
-
target, progname
, strerror(errno));
+ fprintf(stderr, "%s: mount(%s, %s) failed: %s\n",
prognam
e,
+
source, target
, strerror(errno));
if (errno == ENODEV)
fprintf(stderr, "Are the lustre modules loaded?\n"
"Check /etc/modules.conf and /proc/filesystems\n");