1
0
Files
linux/tools/perf/util
Andy Shevchenko d400a68d1f perf tools: Convert open coded equivalents to asprintf()
The following snippet
	V = malloc(S);
	if (!V) { }
	sprintf(V, ...)

Can be easily changed to a one line:

	if (asprintf(&V, ...) < 0) { }

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Link: http://lkml.kernel.org/r/1404474229-15272-1-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-07-07 16:55:24 -03:00
..
2014-05-01 21:22:39 +02:00
2013-12-27 15:17:00 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-01-13 11:37:17 -03:00
2014-01-13 11:37:17 -03:00
2014-04-20 00:15:12 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-06-09 13:34:49 +02:00
2014-06-09 13:34:49 +02:00
2014-05-21 11:48:33 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-02-18 09:34:49 -03:00
2014-06-09 13:34:49 +02:00
2013-08-07 17:35:26 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2013-09-11 10:09:32 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00