diff options
author | niemeyer <devnull@localhost> | 2004-02-25 20:04:36 +0000 |
---|---|---|
committer | niemeyer <devnull@localhost> | 2004-02-25 20:04:36 +0000 |
commit | 55eec2cbdcbff3248cb8c6de9e2860820ab430a7 (patch) | |
tree | 5263374e87110248f44790291c3ef30eddb554d0 /lib/rpmlock.c | |
parent | 037f02539c18072476245c2fb24220a8c620d5f3 (diff) | |
download | librpm-tizen-55eec2cbdcbff3248cb8c6de9e2860820ab430a7.tar.gz librpm-tizen-55eec2cbdcbff3248cb8c6de9e2860820ab430a7.tar.bz2 librpm-tizen-55eec2cbdcbff3248cb8c6de9e2860820ab430a7.zip |
It was 2 bytes, not one. Amateurs.. humpf. ;-)
CVS patchset: 7132
CVS date: 2004/02/25 20:04:36
Diffstat (limited to 'lib/rpmlock.c')
-rw-r--r-- | lib/rpmlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmlock.c b/lib/rpmlock.c index cb26e90e8..031a531fe 100644 --- a/lib/rpmlock.c +++ b/lib/rpmlock.c @@ -34,7 +34,7 @@ static rpmlock *rpmlock_new(const char *rootdir) if (lock) { mode_t oldmask = umask(022); char *path = (char *)malloc(strlen(rootdir)+ - strlen(RPMLOCK_FILE)+1); + strlen(RPMLOCK_FILE)+2); if (!path) { free(lock); return NULL; |