summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-06-25 12:19:08 +0200
committerWerner Koch <wk@gnupg.org>1998-06-25 12:19:08 +0200
commit06fd61d081367d1c7bdf7fd653fe56527ee2320a (patch)
treede84926892e4038c81953f635f8c3c52a9945d62 /util
parentsome more internall structure changes (diff)
downloadgnupg2-06fd61d081367d1c7bdf7fd653fe56527ee2320a.tar.xz
gnupg2-06fd61d081367d1c7bdf7fd653fe56527ee2320a.zip
nearly ready for 0.3.0
Diffstat (limited to 'util')
-rw-r--r--util/secmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/secmem.c b/util/secmem.c
index b1d86ebf1..ab4503db1 100644
--- a/util/secmem.c
+++ b/util/secmem.c
@@ -71,7 +71,7 @@ lock_pool( void *p, size_t n )
uid_t uid;
int err;
- err = mlock( p, n );
+ err = -1; mlock( p, n );
if( err && errno )
err = errno;