PERFORCE change 176039 for review

Garrett Cooper gcooper at FreeBSD.org
Wed Mar 24 07:00:45 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=176039

Change 176039 by gcooper at gcooper-bayonetta on 2010/03/24 07:00:25

	Add a missing qualifier in a format string. Not caught because -Wno-format-extra-args is in the default flags (why is it on...?).

Affected files ...

.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/pen.c#5 edit

Differences ...

==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/pen.c#5 (text+ko) ====

@@ -80,7 +80,7 @@
 pushPen(const char *pen)
 {
     if (++pdepth == MAX_STACK)
-	errx(2, "%s: stack overflow.\n", progname, __func__);
+	errx(2, "%s.%s: stack overflow.\n", progname, __func__);
     pstack[pdepth] = strdup(pen);
 
     return pstack[pdepth];


More information about the p4-projects mailing list