aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 2b0690f3..90c4d86a 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -425,7 +425,7 @@ char *xreadlink(char *name)
char *xreadfile(char *name)
{
- char *buf = readfile(name);
+ char *buf = readfile(name, 0, 0);
if (!buf) perror_exit("xreadfile %s", name);
return buf;
}