Commit 644772cf authored by Andreas Gustafsson's avatar Andreas Gustafsson

eliminated needless use of string literal concatenation

parent dfe3edd7
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rndc-confgen.c,v 1.3 2001/08/03 05:56:15 marka Exp $ */
/* $Id: rndc-confgen.c,v 1.4 2001/08/03 22:12:42 gson Exp $ */
#include <config.h>
......@@ -276,7 +276,7 @@ main(int argc, char **argv) {
fprintf(stderr, "isc_mem_get(%d) failed\n", len);
goto cleanup;
}
snprintf(buf, len, "%s" "/" "%s", chrootdir, keyfile);
snprintf(buf, len, "%s/%s", chrootdir, keyfile);
fd = safe_create(buf);
if (fd == NULL) {
fprintf(stderr, "unable to create \"%s\"\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment