summaryrefslogtreecommitdiff
path: root/bin/confgen/ddns-confgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/confgen/ddns-confgen.c')
-rw-r--r--bin/confgen/ddns-confgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/confgen/ddns-confgen.c b/bin/confgen/ddns-confgen.c
index d655145e..e2a86283 100644
--- a/bin/confgen/ddns-confgen.c
+++ b/bin/confgen/ddns-confgen.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2011, 2014 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -101,7 +101,7 @@ main(int argc, char **argv) {
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
- memcpy(program, "ddns-confgen", 13);
+ memmove(program, "ddns-confgen", 13);
progname = program;
isc_commandline_errprint = ISC_FALSE;