svn commit: r272924 - stable/8/usr.bin/find

Ed Maste emaste at FreeBSD.org
Sat Oct 11 01:01:19 UTC 2014


Author: emaste
Date: Sat Oct 11 01:01:18 2014
New Revision: 272924
URL: https://svnweb.freebsd.org/changeset/base/272924

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

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

Modified: stable/8/usr.bin/find/function.c
==============================================================================
--- stable/8/usr.bin/find/function.c	Sat Oct 11 01:00:37 2014	(r272923)
+++ stable/8/usr.bin/find/function.c	Sat Oct 11 01:01:18 2014	(r272924)
@@ -1443,7 +1443,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