Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
 
4
char*
5
smprint(char *fmt, ...)
6
{
7
	va_list args;
8
	char *p;
9
 
10
	va_start(args, fmt);
11
	p = vsmprint(fmt, args);
12
	va_end(args);
13
	setmalloctag(p, getcallerpc(&fmt));
14
	return p;
15
}