aboutsummaryrefslogtreecommitdiff
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 953324452..11920d211 100644
--- a/printutils/lpd.c
+++ b/printutils/lpd.c
@@ -160,7 +160,7 @@ int lpd_main(int argc ATTRIBUTE_UNUSED, char *argv[])
160 // (we exit 127 if helper cannot be executed) 160 // (we exit 127 if helper cannot be executed)
161 var[1] = '\0'; 161 var[1] = '\0';
162 // read and delete ctrlfile 162 // read and delete ctrlfile
163 q = xmalloc_open_read_close(filenames[0], NULL); 163 q = xmalloc_xopen_read_close(filenames[0], NULL);
164 unlink(filenames[0]); 164 unlink(filenames[0]);
165 // provide datafile name 165 // provide datafile name
166 // we can use leaky setenv since we are about to exec or exit 166 // we can use leaky setenv since we are about to exec or exit