Skip to content

Commit

Permalink
mkcomposefs: Drop newline from error string
Browse files Browse the repository at this point in the history
This will be added when printing the error anyway.
  • Loading branch information
alexlarsson committed Apr 18, 2024
1 parent 85a693d commit 3084bfa
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 3084bfa

Please sign in to comment.