aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 84e600cbf..083ec93bf 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -301,7 +301,7 @@ copy_options_file( const char *destdir )
m_free(fname);
return;
}
- strcpy(stpcpy(fname, destdir), DIRSEP_S "gpg.conf" );
+ strcpy(stpcpy(fname, destdir), DIRSEP_S "gpg" EXTSEP_S "conf" );
dst = fopen( fname, "w" );
if( !dst ) {
log_error(_("%s: can't create: %s\n"), fname, strerror(errno) );