[SMSS] Fix build.

This commit is contained in:
Hermès Bélusca-Maïto 2022-11-09 00:05:13 +01:00
parent b076800dd8
commit f1908c8959
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -23,7 +23,7 @@ const PCSTR SmpSubSystemNames[] =
"Windows GUI",
"Windows CUI",
NULL,
"OS/2 CUI"
"OS/2 CUI",
NULL,
"Posix CUI"
};
@ -158,7 +158,7 @@ SmpSbCreateSession(IN PVOID Reserved,
if (!SubSysName)
{
SubSysName = SubSysTypeName;
sprintf(SubSysTypeName, "Type 0x%08x", SubSystemType);
sprintf(SubSysTypeName, "Type 0x%08lx", SubSystemType);
}
DPRINT1("SMSS: %s SubSystem not found (either not started or destroyed).\n", SubSysName);
#endif