diff options
Diffstat (limited to 'lib/libutil')
-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; } |