trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject git commit: Fix FreeBSD build issue.
Date Wed, 24 Sep 2014 16:46:20 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master d5382adef -> 80eb1a8aa


Fix FreeBSD build issue.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/80eb1a8a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/80eb1a8a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/80eb1a8a

Branch: refs/heads/master
Commit: 80eb1a8aa63e1f13b3108d9e6625a9799b33be01
Parents: d5382ad
Author: Alan M. Carroll <amc@network-geographics.com>
Authored: Wed Sep 24 11:46:01 2014 -0500
Committer: Alan M. Carroll <amc@network-geographics.com>
Committed: Wed Sep 24 11:46:01 2014 -0500

----------------------------------------------------------------------
 lib/ts/ink_file.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/80eb1a8a/lib/ts/ink_file.cc
----------------------------------------------------------------------
diff --git a/lib/ts/ink_file.cc b/lib/ts/ink_file.cc
index a5af471..5ccff6f 100644
--- a/lib/ts/ink_file.cc
+++ b/lib/ts/ink_file.cc
@@ -447,7 +447,7 @@ ink_file_get_geometry(int fd ATS_UNUSED, ink_device_geometry& geometry)
 
 #if defined(DIOCGSECTORSIZE)
   if (ioctl(fd, DIOCGSECTORSIZE, &arg.u32) == 0) {
-    geometry.blocksz = sector_size;
+    geometry.blocksz = arg.u32;
   }
 #endif
 


Mime
View raw message