From 5a9fdfb303e41acf2d1f4f18f126361684b8ade1 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 20 Jan 2018 18:27:00 +0000 Subject: [PATCH] limits(1): add missing break Reported by: swildner@DragonFlyBSD.org MFC After: 1 week --- usr.bin/limits/limits.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/limits/limits.c b/usr.bin/limits/limits.c index d500c333a759..cd242bc68784 100644 --- a/usr.bin/limits/limits.c +++ b/usr.bin/limits/limits.c @@ -608,6 +608,7 @@ resource_num(int which, int ch, const char *str) break; case 'w': case 'W': /* weeks */ tim *= (60L * 60L * 24L * 7L); + break; case 'y': case 'Y': /* Years */ tim *= (60L * 60L * 24L * 365L); }