summaryrefslogtreecommitdiff
path: root/printutils/lpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'printutils/lpd.c')
-rw-r--r--printutils/lpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printutils/lpd.c b/printutils/lpd.c
index 9533244..11920d2 100644
--- a/printutils/lpd.c
+++ b/printutils/lpd.c
@@ -160,7 +160,7 @@ int lpd_main(int argc ATTRIBUTE_UNUSED, char *argv[])
// (we exit 127 if helper cannot be executed)
var[1] = '\0';
// read and delete ctrlfile
- q = xmalloc_open_read_close(filenames[0], NULL);
+ q = xmalloc_xopen_read_close(filenames[0], NULL);
unlink(filenames[0]);
// provide datafile name
// we can use leaky setenv since we are about to exec or exit