diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-08-25 22:01:29 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-09-01 14:38:12 +0000 |
commit | 9b5d56054c4bd28cc94ec634db3905aff0480a92 (patch) | |
tree | 7c0c9fd61d75c7b00884d9ac9095df598205ff00 /block.c | |
parent | f3b38739d507e5ba3c9d8b728fe581f30d4463f8 (diff) | |
download | strace-9b5d56054c4bd28cc94ec634db3905aff0480a92.tar.gz |
Decode BLKGETSIZE64 unconditionally
It is available on all supported kernel versions.
* block.c (block_ioctl): Remove #ifdef HAVE_BLKGETSIZE64.
* configure.ac: Remove BLKGETSIZE64 check.
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -204,7 +204,6 @@ MPERS_PRINTER_DECL(int, block_ioctl, struct tcb *const tcp, printnum_ulong(tcp, arg); break; -#ifdef HAVE_BLKGETSIZE64 /* returns an uint64_t */ case BLKGETSIZE64: if (entering(tcp)) @@ -212,7 +211,6 @@ MPERS_PRINTER_DECL(int, block_ioctl, struct tcb *const tcp, tprints(", "); printnum_int64(tcp, arg, "%" PRIu64); break; -#endif /* takes a pair of uint64_t */ case BLKDISCARD: |