Only check errno if getpwuid() fails
authorsin <sin@2f30.org>
Wed, 9 Jul 2014 13:40:49 +0000 (14:40 +0100)
committersin <sin@2f30.org>
Wed, 9 Jul 2014 13:41:32 +0000 (14:41 +0100)
commit8745098fa440ef3bf1d8e173dcd91514b34600c6
tree42fe8184d9851a8361172a83e57579e8102e8eae
parent9db14b10dd09336c6a8fe283f99108c9acc4667a
Only check errno if getpwuid() fails

Checking errno otherwise is unspecified.
slock.c