Loading...
--- xnu/xnu-1228/libkern/c++/OSSerialize.cpp
+++ xnu/xnu-792.18.15/libkern/c++/OSSerialize.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
@@ -88,7 +88,7 @@
}
// build a tag
- snprintf(temp, sizeof(temp), "%u", tag++);
+ sprintf(temp, "%u", tag++);
tagString = OSString::withCString(temp);
// add to tag dictionary