From 8d29dda844de739c19d5b91e92c576e39498c375 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 16 Apr 2010 22:09:48 +0200 Subject: Renamed all calls to create_temp_filename() All places where create_temp_filename() was called are now calling create_temp_file(). Extra checks on the result of create_temp_file() is added in addition. Signed-off-by: David Sommerseth Acked-by: Gert Doering --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.c') diff --git a/init.c b/init.c index 456412f..8ec6ca6 100644 --- a/init.c +++ b/init.c @@ -457,7 +457,7 @@ init_static (void) #ifdef STATUS_PRINTF_TEST { struct gc_arena gc = gc_new (); - const char *tmp_file = create_temp_filename ("/tmp", "foo", &gc); + const char *tmp_file = create_temp_file ("/tmp", "foo", &gc); struct status_output *so = status_open (tmp_file, 0, -1, NULL, STATUS_OUTPUT_WRITE); status_printf (so, "%s", "foo"); status_printf (so, "%s", "bar"); -- cgit v1.2.3