]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mkfs.minix: Remove newline from error message
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 18 Apr 2026 08:15:37 +0000 (10:15 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 18 Apr 2026 08:15:37 +0000 (10:15 +0200)
The errx function adds a newline by itself already.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
disk-utils/mkfs.minix.c

index 2b7ab3d2a2c346ad21d385b23295d43d0d563378..6a9c7ba81dba30487646817e522ca1ce0eeeb3ce 100644 (file)
@@ -725,7 +725,7 @@ static void determine_device_blocks(struct fs_control *ctl, const struct stat *s
                ctl->fs_blocks = dev_blocks;
        else if (dev_blocks < ctl->fs_blocks)
                errx(MKFS_EX_ERROR,
-                    _("%s: requested blocks (%llu) exceeds available (%llu) blocks\n"),
+                    _("%s: requested blocks (%llu) exceeds available (%llu) blocks"),
                     ctl->device_name, ctl->fs_blocks, dev_blocks);
        if (ctl->fs_blocks < 10)
                errx(MKFS_EX_ERROR, _("%s: number of blocks too small"), ctl->device_name);