author | Alberto Bertogli
<albertito@gmail.com> 2004-05-05 18:08:15 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-07-15 12:44:27 UTC |
parent | 20980b0d816ed26ed82a8879774c0c8c2c0c75b4 |
libjio.c | +1 | -1 |
diff --git a/libjio.c b/libjio.c index 4372be4..8c1180d 100644 --- a/libjio.c +++ b/libjio.c @@ -757,7 +757,7 @@ int jfsck(char *name, struct jfsck_result *res) /* try to lock the transaction file, if it's locked then it is * currently being used so we skip it */ - rv = plockf(fd, F_TLOCK, 0, 0); + rv = plockf(tfd, F_TLOCK, 0, 0); if (rv == -1) { res->in_progress++; goto loop;