* bsd_helper.cc: Replace %E __small_printf format specifier with %lu

and call to GetLastError throughout.
	* bsd_mutex.cc: Ditto.
	* sysv_sem.cc (semget): Replace %X __small_printf format specifier
	with %llx.
This commit is contained in:
Corinna Vinschen
2008-02-06 22:30:38 +00:00
parent 93591f4200
commit 62688407cb
4 changed files with 21 additions and 11 deletions

View File

@@ -875,7 +875,7 @@ semget(struct thread *td, struct semget_args *uap)
struct ucred *cred = td->td_ucred;
#endif
DPRINTF(("semget(0x%X, %d, 0%o)\n", key, nsems, semflg));
DPRINTF(("semget(0x%llx, %d, 0%o)\n", key, nsems, semflg));
if (!jail_sysvipc_allowed && jailed(td->td_ucred))
return (ENOSYS);