[Midnightbsd-cvs] src [6854] stable/0.5/usr.bin/find/function.c: MFC: fix units for terabyte suffix with find

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 11 09:37:45 EDT 2014


Revision: 6854
          http://svnweb.midnightbsd.org/src/?rev=6854
Author:   laffer1
Date:     2014-10-11 09:37:44 -0400 (Sat, 11 Oct 2014)
Log Message:
-----------
MFC: fix units for terabyte suffix with find

Modified Paths:
--------------
    stable/0.5/usr.bin/find/function.c

Modified: stable/0.5/usr.bin/find/function.c
===================================================================
--- stable/0.5/usr.bin/find/function.c	2014-10-11 13:36:56 UTC (rev 6853)
+++ stable/0.5/usr.bin/find/function.c	2014-10-11 13:37:44 UTC (rev 6854)
@@ -1439,7 +1439,7 @@
 			scale = 0x40000000LL;
 			break;
 		case 'T':                       /* terabytes 1<<40 */
-			scale = 0x1000000000LL;
+			scale = 0x10000000000LL;
 			break;
 		case 'P':                       /* petabytes 1<<50 */
 			scale = 0x4000000000000LL;



More information about the Midnightbsd-cvs mailing list