From 2eabe3eab816173d91cabf124d2a2e165e77565d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 20 Nov 2015 13:19:18 -0800 Subject: [PATCH] server: fix typo in result file name generation (from Keith) --- tools/backend_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/backend_lib.cpp b/tools/backend_lib.cpp index 18b4410627..a7d8acab2d 100644 --- a/tools/backend_lib.cpp +++ b/tools/backend_lib.cpp @@ -164,7 +164,7 @@ int create_result( result.priority += priority_increase; sprintf(result.name, "%s_%s", wu.name, result_name_suffix); - sprintf(base_outfile_name, "%s_r%ld", result.name, lrand48()); + sprintf(base_outfile_name, "%s_r%ld_", result.name, lrand48()); retval = read_filename( result_template_filename, result_template, sizeof(result_template) );