summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-bt
blob: 12abf41a78ce7731027640c9b0ba9b56e8e68738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./ppm/ppmmerge.c.orig	Mon Jan 31 11:44:31 1994
+++ ./ppm/ppmmerge.c	Sat Aug 12 23:51:35 1995
@@ -29,6 +29,10 @@
 	{
 	++argv;
 	--argc;
+	if(!*argv)	{
+		fprintf(stderr, "Usage: ppmmerge ppm_program_name [args ...]\n");
+		exit(1);
+		}
 	goto again;
 	}