summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-bf
blob: 2cf5773846976c4dd151a7deba1d0a1c26108519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./pgm/pgmmerge.c.orig	Fri Jan 28 05:17:38 1994
+++ ./pgm/pgmmerge.c	Sat Aug 12 23:51:14 1995
@@ -29,6 +29,10 @@
 	{
 	++argv;
 	--argc;
+	if(!*argv)	{
+		fprintf(stderr, "Usage: pgmmerge pgm_program_name [args ...]\n");
+		exit(1);
+		}
 	goto again;
 	}