Index: cpio-2.13/lib/rtapelib.c =================================================================== --- cpio-2.13.orig/lib/rtapelib.c +++ cpio-2.13/lib/rtapelib.c @@ -711,7 +711,7 @@ rmt_ioctl__ (int handle, int operation, || (status = get_status (handle), status == -1)) return -1; - if (status > sizeof (struct mtop)) + if (status > sizeof (struct mtget)) { errno = EOVERFLOW; return -1;