summaryrefslogtreecommitdiff
path: root/bdftopcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bdftopcf.c')
-rw-r--r--bdftopcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdftopcf.c b/bdftopcf.c
index 1deab8b..da83938 100644
--- a/bdftopcf.c
+++ b/bdftopcf.c
@@ -185,7 +185,7 @@ main(int argc, char *argv[])
fprintf(stderr, "%s: can't write pcf file %s\n",
program_name, output_name ? output_name : "<stdout>");
if (output_name)
- unlink(output_name);
+ remove(output_name);
exit(1);
}
else