aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/password.c b/lib/password.c
index 40cbead0..985bd573 100644
--- a/lib/password.c
+++ b/lib/password.c
@@ -156,7 +156,7 @@ int update_password(char *filename, char* username, char* entry)
}
*sfx = '-';
- ret = unlink(filenamesfx);
+ unlink(filenamesfx);
ret = link(filename, filenamesfx);
if (ret < 0) error_msg("can't create backup file");