svn commit: r328501 - stable/11/usr.bin/limits

Eitan Adler eadler at FreeBSD.org
Sat Jan 27 23:40:42 UTC 2018


Author: eadler
Date: Sat Jan 27 23:40:41 2018
New Revision: 328501
URL: https://svnweb.freebsd.org/changeset/base/328501

Log:
  MFC r328206:
  
  limits(1): add missing break

Modified:
  stable/11/usr.bin/limits/limits.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/limits/limits.c
==============================================================================
--- stable/11/usr.bin/limits/limits.c	Sat Jan 27 23:20:01 2018	(r328500)
+++ stable/11/usr.bin/limits/limits.c	Sat Jan 27 23:40:41 2018	(r328501)
@@ -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);
 		}


More information about the svn-src-stable-11 mailing list