svn commit: r272975 - releng/10.1/usr.bin/find

Ed Maste emaste at FreeBSD.org
Sun Oct 12 00:34:19 UTC 2014


Author: emaste
Date: Sun Oct 12 00:34:18 2014
New Revision: 272975
URL: https://svnweb.freebsd.org/changeset/base/272975

Log:
  MFS r272922: Correct scale factor for T terabyte suffix
  
  PR:		194250
  Approved by:	re

Modified:
  releng/10.1/usr.bin/find/function.c
Directory Properties:
  releng/10.1/   (props changed)

Modified: releng/10.1/usr.bin/find/function.c
==============================================================================
--- releng/10.1/usr.bin/find/function.c	Sat Oct 11 23:49:27 2014	(r272974)
+++ releng/10.1/usr.bin/find/function.c	Sun Oct 12 00:34:18 2014	(r272975)
@@ -1500,7 +1500,7 @@ c_size(OPTION *option, char ***argvp)
 			scale = 0x40000000LL;
 			break;
 		case 'T':                       /* terabytes 1<<40 */
-			scale = 0x1000000000LL;
+			scale = 0x10000000000LL;
 			break;
 		case 'P':                       /* petabytes 1<<50 */
 			scale = 0x4000000000000LL;


More information about the svn-src-releng mailing list