diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/histedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index 2d922be..51e419c 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -211,7 +211,7 @@ histcmd(int argc, char **argv) (ch = getopt(argc, argv, ":e:lnrs")) != -1) switch ((char)ch) { case 'e': - editor = shoptarg; + editor = optarg; break; case 'l': lflg = 1; |