summaryrefslogtreecommitdiffstats
path: root/util/r2014convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/r2014convert.c')
-rw-r--r--util/r2014convert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/r2014convert.c b/util/r2014convert.c
index 317a4623..766e6e1e 100644
--- a/util/r2014convert.c
+++ b/util/r2014convert.c
@@ -32,12 +32,12 @@ int main(){
}
printf("Reading from " BBSHOME "/.PASSWDS\n");
- new_fd = open(BBSHOME "/PASSWDS.NEW", O_WRONLY | O_CREAT | O_TRUNC, 0600);
+ new_fd = open(BBSHOME "/.PASSWDS.NEW", O_WRONLY | O_CREAT | O_TRUNC, 0600);
if( new_fd < 0 ){
- perror("opening " BBSHOME "/PASSWDS.NEW for writing");
+ perror("opening " BBSHOME "/.PASSWDS.NEW for writing");
return 1;
}
- printf("Writing to " BBSHOME "/PASSWDS.NEW\n");
+ printf("Writing to " BBSHOME "/.PASSWDS.NEW\n");
while(read(orig_fd, &u, sizeof(userec_t)) == sizeof(userec_t)){
// clear 0x400, 0x800, and 0x3000
@@ -56,7 +56,7 @@ int main(){
printf("Moving files....\n");
system("mv -i " BBSHOME "/.PASSWDS " BBSHOME "/.PASSWDS.old");
- system("mv -i " BBSHOME "/PASSWDS.NEW " BBSHOME "/.PASSWDS");
+ system("mv -i " BBSHOME "/.PASSWDS.NEW " BBSHOME "/.PASSWDS");
printf("Done, old password file is now at " BBSHOME "/.PASSWDS.old\n");
return 0;