fix format error in error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9771 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -232,7 +232,8 @@ new_type (Typetype tt)
|
||||
{
|
||||
Type *t = malloc(sizeof(*t));
|
||||
if (t == NULL) {
|
||||
error_message ("out of memory in malloc(%u)", sizeof(*t));
|
||||
error_message ("out of memory in malloc(%lu)",
|
||||
(unsigned long)sizeof(*t));
|
||||
exit (1);
|
||||
}
|
||||
t->type = tt;
|
||||
|
Reference in New Issue
Block a user