Author: emaste
Date: Wed Oct  8 17:40:58 2014
New Revision: 272762
URL: https://svnweb.freebsd.org/changeset/base/272762

Log:
  Correct scale factor for T terabyte suffix
  
  PR:           194250
  MFC after:    3 days
  Sponsored by: The FreeBSD Foundation

Modified:
  head/usr.bin/find/function.c

Modified: head/usr.bin/find/function.c
==============================================================================
--- head/usr.bin/find/function.c        Wed Oct  8 16:48:03 2014        
(r272761)
+++ head/usr.bin/find/function.c        Wed Oct  8 17:40:58 2014        
(r272762)
@@ -1506,7 +1506,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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to