svn commit: r199314 - stable/8/lib/libc/gen
Christian Brueffer
brueffer at FreeBSD.org
Mon Nov 16 08:26:56 UTC 2009
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);
More information about the svn-src-stable-8
mailing list