summaryrefslogtreecommitdiff
path: root/src/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history.c b/src/history.c
index 8ea37cb..a9a1c12 100644
--- a/src/history.c
+++ b/src/history.c
@@ -221,7 +221,7 @@ history_load (void)
free (filename);
return;
}
- if (!fclose(f))
+ if (fclose (f))
PRINT_DEBUG (("ratpoison: error reading %s - %s\n", filename, strerror (errno)));
free (filename);
}
@@ -258,7 +258,7 @@ history_save (void)
free (filename);
return;
}
- if (!fclose(f))
+ if (fclose (f))
PRINT_DEBUG (("ratpoison: error writing %s - %s\n", filename, strerror (errno)));
free (filename);
}