summaryrefslogtreecommitdiffstats
path: root/libexec/pppoed
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/pppoed')
-rw-r--r--libexec/pppoed/pppoed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index a3c6d37..424bd15 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -359,7 +359,7 @@ Spawn(const char *prog, const char *acname, const char *provider,
syslog(LOG_INFO, "Waiting for a SUCCESS reply %s", path);
do {
- if ((ret = NgRecvMsg(cs, rep, sizeof msgbuf, NULL) < 0)) {
+ if ((ret = NgRecvMsg(cs, rep, sizeof msgbuf, NULL)) < 0) {
syslog(LOG_ERR, "%s: Cannot receive a message: %m", path);
_exit(EX_OSERR);
}
OpenPOWER on IntegriCloud