summaryrefslogtreecommitdiff
path: root/compiler/aslpredef.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-05-28 18:46:48 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-05-28 18:46:48 +0000
commitf2bf96d30fe08965ffd53a28099131ac030e43d5 (patch)
tree2429d13f44367948f54b059645bd882e2e28f2d4 /compiler/aslpredef.c
parent5b663f0c698a9ecf7e562f7f7f730d056e499b5f (diff)
Notes
Diffstat (limited to 'compiler/aslpredef.c')
-rw-r--r--compiler/aslpredef.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/aslpredef.c b/compiler/aslpredef.c
index ae1b77381480..49056edd180e 100644
--- a/compiler/aslpredef.c
+++ b/compiler/aslpredef.c
@@ -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)