svn commit: r272923 - stable/9/usr.bin/find

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


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

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

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

Modified: stable/9/usr.bin/find/function.c
==============================================================================
--- stable/9/usr.bin/find/function.c	Sat Oct 11 00:30:57 2014	(r272922)
+++ stable/9/usr.bin/find/function.c	Sat Oct 11 01:00:37 2014	(r272923)
@@ -1479,7 +1479,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-stable-9 mailing list