diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2006-01-24 16:10:16 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2006-01-24 16:10:16 +0000 |
commit | 20a062a70fd625fb4ffec3cf1ab58a60be7cc6ef (patch) | |
tree | a48b16ca1817130ac0073ca318c23a5ba7e59ec6 | |
parent | ded54983abd2d80d7f83c9e2e0ac5aa51217b971 (diff) |
Add missing break; in a switch case statement from r1.7 pread() changes. From
dhelder AT arbor.net. millert@ ok
-rw-r--r-- | lib/libc/db/mpool/mpool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/db/mpool/mpool.c b/lib/libc/db/mpool/mpool.c index e78c3082478..135fd73d4e1 100644 --- a/lib/libc/db/mpool/mpool.c +++ b/lib/libc/db/mpool/mpool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpool.c,v 1.16 2005/10/12 07:25:13 otto Exp $ */ +/* $OpenBSD: mpool.c,v 1.17 2006/01/24 16:10:15 aaron Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -224,6 +224,7 @@ mpool_get(MPOOL *mp, pgno_t pgno, * new page. */ memset(bp->page, 0, mp->pagesize); + break; default: /* A partial read is definitely bad. */ errno = EINVAL; |