index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-04-20 19:45:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-20 19:47:39 -0500 |
commit | 4af6c72d790e13fd28abc0d7b2eaaece51fd7862 (patch) | |
tree | 1ac5a83657f77ee3a43d885c973c95f1ad3f31d2 /lib/libalpm/trans.c | |
parent | 6760ec2b770e65f2aae9cfd39135cefd49961195 (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 2 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index e1722225..a7edb97e 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -72,7 +72,7 @@ static int make_lock(pmhandle_t *handle) do { fd = open(handle->lockfile, O_WRONLY | O_CREAT | O_EXCL, 0000); - } while (fd == -1 && errno == EINTR); + } while(fd == -1 && errno == EINTR); if(fd > 0) { FILE *f = fdopen(fd, "w"); fprintf(f, "%ld\n", (long)getpid()); |