opnsense-ports/graphics/grads/files/patch-src_gxtran.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
412 B
C

--- src/gxtran.c.orig 2014-05-24 15:45:07.000000000 -0700
+++ src/gxtran.c 2014-05-24 15:46:08.000000000 -0700
@@ -97,7 +97,7 @@
infile = fopen(ifi,"rb");
if (infile == NULL) {
printf ("Cannot open input file: %s\n",ifi);
- return;
+ return 1;
}
pnt = 0;
@@ -257,7 +257,7 @@
else {
printf ("Invalid command found %i \n",cmd);
- return;
+ return 1;
}
}
}