[Midnightbsd-cvs] src [6853] trunk/usr.bin/find/function.c: fix units for terabyte suffix

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 11 09:36:57 EDT 2014


Revision: 6853
          http://svnweb.midnightbsd.org/src/?rev=6853
Author:   laffer1
Date:     2014-10-11 09:36:56 -0400 (Sat, 11 Oct 2014)
Log Message:
-----------
fix units for terabyte suffix

Modified Paths:
--------------
    trunk/usr.bin/find/function.c

Modified: trunk/usr.bin/find/function.c
===================================================================
--- trunk/usr.bin/find/function.c	2014-10-11 12:44:51 UTC (rev 6852)
+++ trunk/usr.bin/find/function.c	2014-10-11 13:36:56 UTC (rev 6853)
@@ -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