diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-09-29 10:31:28 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-09-29 10:31:28 +0000 |
commit | 1556b78bef78333eef5a7cf5194b08fde14948d8 (patch) | |
tree | 788d759d78c580572b0995a0c0781eafe680c77e /libexec/bootpd | |
parent | 966ebb776122a0f97f6feb238a5bcb4efc7e56ec (diff) | |
download | FreeBSD-src-1556b78bef78333eef5a7cf5194b08fde14948d8.zip FreeBSD-src-1556b78bef78333eef5a7cf5194b08fde14948d8.tar.gz |
Missing `break' statements caused two error messages to become
"unkown error" [sic]. Add the missing breaks, and correct the
spelling typo.
PR: bin/30865
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 1 week
Diffstat (limited to 'libexec/bootpd')
-rw-r--r-- | libexec/bootpd/readfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/bootpd/readfile.c b/libexec/bootpd/readfile.c index a46f9e5..78c5e23 100644 --- a/libexec/bootpd/readfile.c +++ b/libexec/bootpd/readfile.c @@ -697,10 +697,12 @@ process_entry(host, src) break; case E_BAD_PATHNAME: msg = "bad pathname (need leading '/')"; + break; case E_BAD_VALUE: msg = "bad value"; + break; default: - msg = "unkown error"; + msg = "unknown error"; break; } /* switch */ report(LOG_ERR, "in entry named \"%s\", symbol \"%s\": %s", |