PERFORCE change 177942 for review

Garrett Cooper gcooper at FreeBSD.org
Sat May 8 07:43:36 UTC 2010


http://p4web.freebsd.org/@@177942?ac=10

Change 177942 by gcooper at gcooper-bayonetta on 2010/05/08 07:43:13

	Fix a format string.

Affected files ...

.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/updating/main.c#7 edit

Differences ...

==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/updating/main.c#7 (text+ko) ====

@@ -174,9 +174,8 @@
 					fd = fopen(tmp_file, "r");
 					if (fd == NULL) {
 						/* XXX (gcooper): drop continue. */
+						warn("can't open %s", tmp_file);
 						(void)closedir(dir);
-						warn("can't open %s: %s",
-						    tmp_file);
 						continue;
 					}
 


More information about the p4-projects mailing list