summaryrefslogtreecommitdiffstats
path: root/libutil/login_cap.c
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-06-13 22:26:41 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-06-13 22:26:41 +0000
commit721e8ecc12a0bca0a30d7f4b5b77c8b51fb65c02 (patch)
tree7c96a140ae4a5198fec8364311808e10a097ab42 /libutil/login_cap.c
parent13360c156dfc25dac895009067cd0b9427151955 (diff)
downloadpw-darwin-721e8ecc12a0bca0a30d7f4b5b77c8b51fb65c02.tar.gz
pw-darwin-721e8ecc12a0bca0a30d7f4b5b77c8b51fb65c02.tar.zst
pw-darwin-721e8ecc12a0bca0a30d7f4b5b77c8b51fb65c02.zip
Add "break" inadvertently removed in previous update.
PR: 3820 Submitted by: Joseph Stein <joes@spiritone.com>
Diffstat (limited to 'libutil/login_cap.c')
-rw-r--r--libutil/login_cap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libutil/login_cap.c b/libutil/login_cap.c
index b1761ec..0369907 100644
--- a/libutil/login_cap.c
+++ b/libutil/login_cap.c
@@ -25,7 +25,7 @@
*
* Low-level routines relating to the user capabilities database
*
- * $Id: login_cap.c,v 1.12 1997/05/10 18:55:37 davidn Exp $
+ * $Id: login_cap.c,v 1.13 1997/05/11 08:07:29 davidn Exp $
*/
#include <stdio.h>
@@ -557,8 +557,10 @@ login_getcaptime(login_cap_t *lc, const char *cap, rlim_t def, rlim_t error)
break;
case 'w': case 'W': /* weeks */
mult = 60L * 60L * 24L * 7L;
+ break;
case 'y': case 'Y': /* 365-day years */
mult = 60L * 60L * 24L * 365L;
+ break;
default:
goto invalid;
}