Date: Sat, 20 Jan 2018 18:27:00 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328206 - head/usr.bin/limits Message-ID: <201801201827.w0KIR0Li049587@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sat Jan 20 18:27:00 2018 New Revision: 328206 URL: https://svnweb.freebsd.org/changeset/base/328206 Log: limits(1): add missing break Reported by: swildner@DragonFlyBSD.org MFC After: 1 week Modified: head/usr.bin/limits/limits.c Modified: head/usr.bin/limits/limits.c ============================================================================== --- head/usr.bin/limits/limits.c Sat Jan 20 18:05:14 2018 (r328205) +++ head/usr.bin/limits/limits.c Sat Jan 20 18:27:00 2018 (r328206) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801201827.w0KIR0Li049587>