Skip to content

Commit ce2cd90

Browse files
fix string
1 parent c134f9c commit ce2cd90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/tests.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function teardown() {
6666
# only one @<offset> is allowed
6767
run squashfs-mount ${SQFSDIR}/tools-offset.sqfs@2@2:/user-tools -- cat /user-tools/tools/fileB.txt
6868
assert_failure
69-
assert_line --regexp ".*invalid format:.*"
69+
assert_line --regexp ".*invalid format: .*"
7070
}
7171

7272
@test "mount_images" {

squashfs-mount.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static mount_entry_t *parse_mount_entries(const char **argv, int argc) {
208208
}
209209
// expect file_and_offset only contains one `@`
210210
if (strtok(NULL, "@")) {
211-
errx(EXIT_FAILURE, "invalid format %s", argv[i]);
211+
errx(EXIT_FAILURE, "invalid format: %s", argv[i]);
212212
}
213213
}
214214

0 commit comments

Comments
 (0)