Author: brueffer
Date: Mon Nov 16 08:26:56 2009
New Revision: 199314
URL: http://svn.freebsd.org/changeset/base/199314

Log:
  MFC: r199046
  
  Fix a copy+paste error by checking the correct variable against MM_NULLACT.

Modified:
  stable/8/lib/libc/gen/fmtmsg.c
Directory Properties:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)

Modified: stable/8/lib/libc/gen/fmtmsg.c
==============================================================================
--- stable/8/lib/libc/gen/fmtmsg.c      Mon Nov 16 06:12:49 2009        
(r199313)
+++ stable/8/lib/libc/gen/fmtmsg.c      Mon Nov 16 08:26:56 2009        
(r199314)
@@ -128,7 +128,7 @@ printfmt(char *msgverb, long class, cons
                size += strlen(sevname);
        if (text != MM_NULLTXT)
                size += strlen(text);
-       if (text != MM_NULLACT)
+       if (act != MM_NULLACT)
                size += strlen(act);
        if (tag != MM_NULLTAG)
                size += strlen(tag);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to