← Commit list

507012476

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2010-06-18
FAILED Duration: 32s

Subject

mkfs_ext2: reuse string

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/mkfs_ext2.c+1 -1
@@ -220,7 +220,7 @@ int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv)
xmove_fd(xopen(argv[0], O_WRONLY), fd);
fstat(fd, &st);
if (!S_ISBLK(st.st_mode) && !(option_mask32 & OPT_F))
- bb_error_msg_and_die("not a block device");
+ bb_error_msg_and_die("%s: not a block device", argv[0]);
// check if it is mounted
// N.B. what if we format a file? find_mount_point will return false negative since