diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2003-10-30 15:04:37 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2003-10-30 15:04:37 +0000 |
| commit | 14ecc3c0f019990de7930018b869192369e816e3 (patch) | |
| tree | 0ec11c1ce4a0dfab86b383909ec0fc12a74422e2 /sbin/sunlabel | |
| parent | f969ea6912a15659aeaa6829146e2fbee41ed96c (diff) | |
Notes
Diffstat (limited to 'sbin/sunlabel')
| -rw-r--r-- | sbin/sunlabel/sunlabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/sunlabel/sunlabel.c b/sbin/sunlabel/sunlabel.c index 1de2562746ece..0425beeb15ffc 100644 --- a/sbin/sunlabel/sunlabel.c +++ b/sbin/sunlabel/sunlabel.c @@ -423,7 +423,7 @@ edit_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) if (pid == 0) { if ((editor = getenv("EDITOR")) == NULL) editor = _PATH_VI; - execlp(editor, editor, tmpfil, NULL); + execlp(editor, editor, tmpfil, (char *)NULL); err(1, "execlp %s", editor); } status = 0; |
