From 4f67b326f5b6ddce44d2ff933b3a906325c93eb0 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 23 Apr 2002 07:20:35 +0000 Subject: [PATCH] Use underscores instead of dashes in device environment variables. --- lustre/utils/obdctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1