Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 01:00:37 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r272923 - stable/9/usr.bin/find
Message-ID:  <201410110100.s9B10bf2016428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410110100.s9B10bf2016428>