svn commit: r199046 - head/lib/libc/gen
Christian Brueffer
brueffer at FreeBSD.org
Sun Nov 8 14:02:55 UTC 2009
Author: brueffer
Date: Sun Nov 8 14:02:54 2009
New Revision: 199046
URL: http://svn.freebsd.org/changeset/base/199046
Log:
Fix a copy+paste error by checking the correct variable against MM_NULLACT.
PR: 140386
Submitted by: soulcatcher <soulcatcher13 at gmail.com
MFC after: 1 week
Modified:
head/lib/libc/gen/fmtmsg.c
Modified: head/lib/libc/gen/fmtmsg.c
==============================================================================
--- head/lib/libc/gen/fmtmsg.c Sun Nov 8 12:08:42 2009 (r199045)
+++ head/lib/libc/gen/fmtmsg.c Sun Nov 8 14:02:54 2009 (r199046)
@@ -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-head
mailing list