aboutsummaryrefslogtreecommitdiffstats
path: root/src/od.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index 3ad25651a..48ec3d4f0 100644
--- a/src/od.c
+++ b/src/od.c
@@ -1031,7 +1031,7 @@ skip (uintmax_t n_skip)
when st_size is no greater than the block size, because
some kernels report nonsense small file sizes for
proc-like file systems. */
- if (usable_size && ST_BLKSIZE (file_stats) < file_stats.st_size)
+ if (usable_size && STP_BLKSIZE (&file_stats) < file_stats.st_size)
{
if ((uintmax_t) file_stats.st_size < n_skip)
n_skip -= file_stats.st_size;