summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdftopcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdftopcf.c b/bdftopcf.c
index d0b85d1..9049657 100644
--- a/bdftopcf.c
+++ b/bdftopcf.c
@@ -166,7 +166,7 @@ main (int argc, char *argv[])
if (bdfReadFont (&font, input, bit, byte, glyph, scan) != Successful)
{
fprintf (stderr, "%s: bdf input, %s, corrupt\n",
- program_name, input_name);
+ program_name, input_name ? input_name : "<stdin>");
exit (1);
}
if (output_name)