diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-07-09 22:54:30 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-07-09 22:54:30 +0100 |
| commit | 293a3b0cea9da2281a0d6a34041c5dca181b7bba (patch) | |
| tree | 76624b3d4820551261e5c15f773c403c1a41264e /common/readline.c | |
| parent | 852a55136e991eb35bf2736bdb8c3f8535d09c6d (diff) | |
Update for swaywm/wlroots#1126
Diffstat (limited to 'common/readline.c')
| -rw-r--r-- | common/readline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/readline.c b/common/readline.c index 1c396a90..a2c69018 100644 --- a/common/readline.c +++ b/common/readline.c @@ -9,7 +9,7 @@ char *read_line(FILE *file) { char *string = malloc(size); char lastChar = '\0'; if (!string) { - wlr_log(L_ERROR, "Unable to allocate memory for read_line"); + wlr_log(WLR_ERROR, "Unable to allocate memory for read_line"); return NULL; } while (1) { @@ -30,7 +30,7 @@ char *read_line(FILE *file) { char *new_string = realloc(string, size *= 2); if (!new_string) { free(string); - wlr_log(L_ERROR, "Unable to allocate memory for read_line"); + wlr_log(WLR_ERROR, "Unable to allocate memory for read_line"); return NULL; } string = new_string; |
