Skip to content

Commit

Permalink
utils: fix formatting of an error log
Browse files Browse the repository at this point in the history
  • Loading branch information
joelguittet committed May 25, 2024
1 parent 452d5b0 commit 9453b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mender-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ mender_utils_str_replace(char *input, char *search, char *replace) {

/* Reallocate output memory */
if (NULL == (tmp = (char *)realloc(output, index + strlen(replace) + 1))) {
mender_log_error(NULL, "Unable to allocate memory");
mender_log_error("Unable to allocate memory");
regfree(&regex);
free(output);
return NULL;
Expand Down

0 comments on commit 9453b37

Please sign in to comment.