From: adilger Date: Tue, 23 Apr 2002 07:20:35 +0000 (+0000) Subject: Use underscores instead of dashes in device environment variables. X-Git-Tag: 0.4.2~352 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4f67b326f5b6ddce44d2ff933b3a906325c93eb0;p=fs%2Flustre-release.git Use underscores instead of dashes in device environment variables. --- diff --git a/lustre/utils/obdctl.c b/lustre/utils/obdctl.c index b9f1289..98517e8 100644 --- 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);