1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fix a copy+paste error by checking the correct variable against MM_NULLACT.

PR:		140386
Submitted by:	soulcatcher <soulcatcher13@gmail.com
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2009-11-08 14:02:54 +00:00
parent f93a16d57d
commit 36ba9f409d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199046

View File

@ -128,7 +128,7 @@ printfmt(char *msgverb, long class, const char *label, int sev,
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);