svn commit: r272922 - stable/10/usr.bin/find

Ed Maste emaste at FreeBSD.org
Sat Oct 11 00:30:58 UTC 2014


Author: emaste
Date: Sat Oct 11 00:30:57 2014
New Revision: 272922
URL: https://svnweb.freebsd.org/changeset/base/272922

Log:
  MFC r272762: Correct scale factor for T terabyte suffix
  
  PR:		194250

Modified:
  stable/10/usr.bin/find/function.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/find/function.c
==============================================================================
--- stable/10/usr.bin/find/function.c	Fri Oct 10 23:52:56 2014	(r272921)
+++ stable/10/usr.bin/find/function.c	Sat Oct 11 00:30:57 2014	(r272922)
@@ -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-all mailing list