It seems as if cdio copes fine regardless of whether the file is a multiple of the block length, so is it really so important that the message is printed unconditionally?
This patch makes it so that the "-v" flag must be used at least once for that warning to print. diff --git a/usr.bin/cdio/mmc.c b/usr.bin/cdio/mmc.c index 2866d8050..af07ae391 100644 --- a/usr.bin/cdio/mmc.c +++ b/usr.bin/cdio/mmc.c @@ -467,8 +467,10 @@ writetrack(struct track_info *tr, int track) return (-1); } if (tr->sz % tr->blklen) { - warnx("file %s is not multiple of block length %d", - tr->file, tr->blklen); + if (verbose > 1) { + warnx("file %s is not multiple of block length %d", + tr->file, tr->blklen); + } end_lba = tr->sz / tr->blklen + lba + 1; } else { end_lba = tr->sz / tr->blklen + lba;