summaryrefslogtreecommitdiffstats
path: root/sbin/vinum
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-05 22:49:23 +0000
committerobrien <obrien@FreeBSD.org>2003-05-05 22:49:23 +0000
commitdf429f4699c1360689b59e8c2440ab71c5c80656 (patch)
tree98ff85a15a26642640d555e4b28d599d775702fe /sbin/vinum
parent2e101cf42bcedd60b9f18df6082dffdf52b8ca77 (diff)
downloadFreeBSD-src-df429f4699c1360689b59e8c2440ab71c5c80656.zip
FreeBSD-src-df429f4699c1360689b59e8c2440ab71c5c80656.tar.gz
Centralize _PATH_* definitions.
Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
Diffstat (limited to 'sbin/vinum')
-rw-r--r--sbin/vinum/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/vinum/commands.c b/sbin/vinum/commands.c
index 61ddfb8..1301a3a 100644
--- a/sbin/vinum/commands.c
+++ b/sbin/vinum/commands.c
@@ -64,7 +64,7 @@ vinum_create(int argc, char *argv[], char *arg0[])
editor = getenv("EDITOR");
if (editor == NULL)
- editor = "/usr/bin/vi";
+ editor = _PATH_VI;
sprintf(tempfile, "/var/tmp/" VINUMMOD ".create.%d", getpid()); /* create a temp file */
tf = fopen(tempfile, "w"); /* open it */
if (tf == NULL) {
OpenPOWER on IntegriCloud