svn commit: r211664 - user/imp/tbemd/sys/contrib/dev/acpica/compiler
Warner Losh
imp at FreeBSD.org
Sun Aug 22 22:36:34 UTC 2010
Author: imp
Date: Sun Aug 22 22:36:33 2010
New Revision: 211664
URL: http://svn.freebsd.org/changeset/base/211664
Log:
Merge this last bit by hand...
Modified:
user/imp/tbemd/sys/contrib/dev/acpica/compiler/aslpredef.c
Modified: user/imp/tbemd/sys/contrib/dev/acpica/compiler/aslpredef.c
==============================================================================
--- user/imp/tbemd/sys/contrib/dev/acpica/compiler/aslpredef.c Sun Aug 22 22:32:39 2010 (r211663)
+++ user/imp/tbemd/sys/contrib/dev/acpica/compiler/aslpredef.c Sun Aug 22 22:36:33 2010 (r211664)
@@ -251,7 +251,7 @@ ApCheckForPredefinedMethod (
if (MethodInfo->NumArguments != 0)
{
- sprintf (MsgBuffer, "%s requires %d", Op->Asl.ExternalName, 0);
+ sprintf (MsgBuffer, "%s requires %u", Op->Asl.ExternalName, 0);
AslError (ASL_WARNING, ASL_MSG_RESERVED_ARG_COUNT_HI, Op,
MsgBuffer);
@@ -274,7 +274,7 @@ ApCheckForPredefinedMethod (
if ((MethodInfo->NumArguments != RequiredArgsCurrent) &&
(MethodInfo->NumArguments != RequiredArgsOld))
{
- sprintf (MsgBuffer, "%4.4s requires %d",
+ sprintf (MsgBuffer, "%4.4s requires %u",
PredefinedNames[Index].Info.Name, RequiredArgsCurrent);
if (MethodInfo->NumArguments > RequiredArgsCurrent)
@@ -731,7 +731,7 @@ ApDisplayReservedNames (
ThisName = PredefinedNames;
while (ThisName->Info.Name[0])
{
- printf ("%4.4s Requires %d arguments, ",
+ printf ("%4.4s Requires %u arguments, ",
ThisName->Info.Name, ThisName->Info.ParamCount & 0x0F);
if (ThisName->Info.ExpectedBtypes)
More information about the svn-src-user
mailing list