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:
3d6fa87
)
Use underscores instead of dashes in device environment variables.
author
adilger
<adilger>
Tue, 23 Apr 2002 07:20:35 +0000
(07:20 +0000)
committer
adilger
<adilger>
Tue, 23 Apr 2002 07:20:35 +0000
(07:20 +0000)
lustre/utils/obdctl.c
patch
|
blob
|
history
diff --git
a/lustre/utils/obdctl.c
b/lustre/utils/obdctl.c
index
b9f1289
..
98517e8
100644
(file)
--- a/
lustre/utils/obdctl.c
+++ b/
lustre/utils/obdctl.c
@@
-466,7
+466,7
@@
static int jt_attach(int argc, char **argv)
printf("Name too long to set environment\n");
return -EINVAL;
}
- snprintf(name, 512, "LUSTRE
-dev-
%s", argv[2]);
+ snprintf(name, 512, "LUSTRE
_DEV_
%s", argv[2]);
rc = setenv(name, argv[1], 1);
if (rc) {
printf("error setting env variable %s\n", name);