git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59336 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
}
if (password->answer)
- G_important_message(_("The password was stored in file (%s/dblogin)"), G_config_path());
+ G_important_message(_("The password was stored in file (%s%cdblogin)"), G_config_path(), HOST_DIRSEP);
exit(EXIT_SUCCESS);
@@ -43,7 +43,7 @@ static const char *login_filename(void)
if (!file) {
file = (char *)db_malloc(GPATH_MAX);
- sprintf(file, "%s/dblogin", G_config_path());
+ sprintf(file, "%s%cdblogin", G_config_path(), HOST_DIRSEP);
return file;