[PC-BSD Commits] r18003 - pcbsd/current/src-sh/pc-adctl/krb

svn at pcbsd.org svn at pcbsd.org
Mon Jul 30 15:18:46 PDT 2012


Author: johnh
Date: 2012-07-30 22:18:46 +0000 (Mon, 30 Jul 2012)
New Revision: 18003

Modified:
   pcbsd/current/src-sh/pc-adctl/krb/krbconf.c
Log:
Remove + from reading opening mode.



Modified: pcbsd/current/src-sh/pc-adctl/krb/krbconf.c
===================================================================
--- pcbsd/current/src-sh/pc-adctl/krb/krbconf.c	2012-07-30 21:58:58 UTC (rev 18002)
+++ pcbsd/current/src-sh/pc-adctl/krb/krbconf.c	2012-07-30 22:18:46 UTC (rev 18003)
@@ -939,7 +939,7 @@
 	argv += optind;
 
 	if (infile != NULL) {
-		yyin = fopen(infile, "r+");
+		yyin = fopen(infile, "r");
 		if (yyin == NULL)
 			err(EX_NOINPUT, "%s", infile);
 	}



More information about the Commits mailing list