summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-bc
blob: fde93cf1ea7dd3f90de340a20f229f80b896818c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./pbm/pbmmerge.c.orig	Wed Nov  3 04:28:55 1993
+++ ./pbm/pbmmerge.c	Sat Aug 12 23:51:57 1995
@@ -29,6 +29,10 @@
 	{
 	++argv;
 	--argc;
+	if(!*argv)	{
+		fprintf(stderr, "Usage: pbmmerge pbm_program_name [args ...]\n");
+		exit(1);
+		}
 	goto again;
 	}