aboutsummaryrefslogtreecommitdiff
path: root/common/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/readline.c')
-rw-r--r--common/readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/readline.c b/common/readline.c
index cc40a2cc..ed5801de 100644
--- a/common/readline.c
+++ b/common/readline.c
@@ -8,7 +8,7 @@ char *read_line(FILE *file) {
char *string = malloc(size);
char lastChar = '\0';
if (!string) {
- sway_log(L_ERROR, "Unable to allocate memory for read_line");
+ wlr_log(L_ERROR, "Unable to allocate memory for read_line");
return NULL;
}
while (1) {
@@ -29,7 +29,7 @@ char *read_line(FILE *file) {
char *new_string = realloc(string, size *= 2);
if (!new_string) {
free(string);
- sway_log(L_ERROR, "Unable to allocate memory for read_line");
+ wlr_log(L_ERROR, "Unable to allocate memory for read_line");
return NULL;
}
string = new_string;