summaryrefslogtreecommitdiffstats
path: root/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix.c')
-rw-r--r--posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/posix.c b/posix.c
index 229384a..e6dab25 100644
--- a/posix.c
+++ b/posix.c
@@ -178,8 +178,8 @@ SCM l_pwinfo(user)
struct passwd *entry;
SCM *ve = VELTS(ans);
DEFER_INTS;
- if UNBNDP(user) SYSCALL(entry = getpwent(););
- else if INUMP(user) SYSCALL(entry = getpwuid(INUM(user)););
+ if (UNBNDP(user)) SYSCALL(entry = getpwent(););
+ else if (INUMP(user)) SYSCALL(entry = getpwuid(INUM(user)););
else {
ASRTER(NIMP(user) && STRINGP(user), user, ARG1, s_pwinfo);
SYSCALL(entry = getpwnam(CHARS(user)););
@@ -204,8 +204,8 @@ SCM l_grinfo(name)
struct group *entry;
SCM *ve = VELTS(ans);
DEFER_INTS;
- if UNBNDP(name) SYSCALL(entry = getgrent(););
- else if INUMP(name) SYSCALL(entry = getgrgid(INUM(name)););
+ if (UNBNDP(name)) SYSCALL(entry = getgrent(););
+ else if (INUMP(name)) SYSCALL(entry = getgrgid(INUM(name)););
else {
ASRTER(NIMP(name) && STRINGP(name), name, ARG1, s_grinfo);
SYSCALL(entry = getgrnam(CHARS(name)););