diff options
Diffstat (limited to 'usr/src/common/util/string.c')
-rw-r--r-- | usr/src/common/util/string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/common/util/string.c b/usr/src/common/util/string.c index 5fe5ddab13..2ed2791eda 100644 --- a/usr/src/common/util/string.c +++ b/usr/src/common/util/string.c @@ -80,6 +80,8 @@ vsnprintf(char *buf, size_t buflen, const char *fmt, va_list aargs) int numwidth; va_list args; + ul = 0; + bs = NULL; /* * Make a copy so that all our callers don't have to make a copy */ |