Skip to content

Commit

Permalink
Merge pull request #277 from alexlarsson/fix-newline-error
Browse files Browse the repository at this point in the history
mkcomposefs: Drop newline from error string
  • Loading branch information
giuseppe committed Apr 19, 2024
2 parents 85a693d + 1d82bc1 commit e78c7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mkcomposefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ static uint64_t parse_int_field(const char *str, size_t length, int base, char *
char *endptr = NULL;
unsigned long long v = strtoull(s, &endptr, base);
if (*s == 0 || *endptr != 0) {
*err = make_error("Invalid integer %s\n", s);
*err = make_error("Invalid integer %s", s);
return 0;
}

Expand Down

0 comments on commit e78c7a4

Please sign in to comment.