diff options
author | davidn <davidn@FreeBSD.org> | 1997-06-13 22:26:41 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1997-06-13 22:26:41 +0000 |
commit | 33ffdfd3684035d38acbef95804ba2c06c500501 (patch) | |
tree | cbcbd7af6a05e4763bcea1986699d7d32bbc33c6 /lib | |
parent | 09e80a9d776d2e177038496086d9e68c8f1d6164 (diff) | |
download | FreeBSD-src-33ffdfd3684035d38acbef95804ba2c06c500501.zip FreeBSD-src-33ffdfd3684035d38acbef95804ba2c06c500501.tar.gz |
Add "break" inadvertently removed in previous update.
PR: 3820
Submitted by: Joseph Stein <joes@spiritone.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/login_cap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c index b1761ec..0369907 100644 --- a/lib/libutil/login_cap.c +++ b/lib/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; } |