From c2c0f1952e555d7e402c8e7d727be034a7b6ccc4 Mon Sep 17 00:00:00 2001 From: Ian Dowse Date: Sat, 29 Sep 2001 10:31:28 +0000 Subject: [PATCH] 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(-) diff --git a/libexec/bootpd/readfile.c b/libexec/bootpd/readfile.c index a46f9e5dbe79..78c5e23a4789 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",