From 1556b78bef78333eef5a7cf5194b08fde14948d8 Mon Sep 17 00:00:00 2001 From: iedowse Date: Sat, 29 Sep 2001 10:31:28 +0000 Subject: 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 MFC after: 1 week --- libexec/bootpd/readfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libexec/bootpd') 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", -- cgit v1.1