diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index d3f367a42..6c0fcbe73 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -142,7 +142,7 @@ rc_proc_getent(const char *ent RC_UNUSED) return NULL; i = 0; - if ((size = getline(&proc, &i, fp) == -1)) { + if ((size = getline(&proc, &i, fp)) == -1) { free(proc); return NULL; }