summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-11-17 11:09:19 +0200
committerToomas Soome <tsoome@me.com>2019-02-25 21:48:04 +0200
commitc4b91d4b4753f33280a63b16f5116d23427088b1 (patch)
treed1836db4045d080a48c364515b6b78512008d6a5
parent584814c74382743e01cc62cc8764cfde61718c46 (diff)
downloadillumos-joyent-c4b91d4b4753f33280a63b16f5116d23427088b1.tar.gz
10444 linenoise: this statement may fall through
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rwxr-xr-xusr/src/boot/sys/boot/common/linenoise/linenoise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/boot/sys/boot/common/linenoise/linenoise.c b/usr/src/boot/sys/boot/common/linenoise/linenoise.c
index 871ffb5437..e3a72151a4 100755
--- a/usr/src/boot/sys/boot/common/linenoise/linenoise.c
+++ b/usr/src/boot/sys/boot/common/linenoise/linenoise.c
@@ -650,6 +650,7 @@ static int linenoiseEdit(char *buf, size_t buflen, const char *prompt)
buf[0] = '\0';
l.pos = l.len = 0;
refreshLine(&l);
+ break;
case BACKSPACE: /* backspace */
case 8: /* ctrl-h */
linenoiseEditBackspace(&l);