aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2011-05-25 12:47:26 -0500
committerSeebs <seebs@seebs.net>2011-05-25 12:47:26 -0500
commit24449163dcee2aa40387368779da25e6e29f13f0 (patch)
treecf9a27e8700a622f9154d22a98f5a807da5bb5b4 /ports
parent6660a3cc85430f1b90dc29a8a05b7230c90b4d15 (diff)
downloadpseudo-24449163dcee2aa40387368779da25e6e29f13f0.tar.gz
pseudo-24449163dcee2aa40387368779da25e6e29f13f0.tar.bz2
pseudo-24449163dcee2aa40387368779da25e6e29f13f0.zip
Make ulckpwdf() report failures
Diffstat (limited to 'ports')
-rw-r--r--ports/linux/guts/ulckpwdf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/linux/guts/ulckpwdf.c b/ports/linux/guts/ulckpwdf.c
index bdb6f42..ed6a671 100644
--- a/ports/linux/guts/ulckpwdf.c
+++ b/ports/linux/guts/ulckpwdf.c
@@ -8,8 +8,7 @@
*/
/* lock is cleared automatically on close */
- pseudo_pwd_lck_close();
- rc = 0;
+ rc = pseudo_pwd_lck_close();
/* return rc;
* }