Skip to content

Commit c134f9c

Browse files
fix
1 parent cca61bd commit c134f9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

squashfs-mount.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ static mount_entry_t *parse_mount_entries(const char **argv, int argc) {
203203
}
204204
// parse offset
205205
offset = strtoul(offset_str, &endptr, 10);
206-
printf("DEBUG offset: %lu, endptr: %s, errno: %d, \n", offset, endptr, errno);
207-
if (errno != 0 || *endptr != '\0') {
206+
if (*endptr != '\0') {
208207
errx(EXIT_FAILURE, "invalid value in offset: %s from %s", offset_str, argv[i]);
209208
}
210209
// expect file_and_offset only contains one `@`

0 commit comments

Comments
 (0)