Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2018 23:40:41 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328501 - stable/11/usr.bin/limits
Message-ID:  <201801272340.w0RNef44097225@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801272340.w0RNef44097225>