X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fpassprompt.c;h=6c2c8284fd535c79384e0fb389f2198bfa54f665;hb=c898e34da6dfcaa9172c04dc27c02b371b90391d;hp=a579b912e70cfec5140b5396192b0e05ae3c4eb2;hpb=95d719f47943c479df4d7bf13eb928567392166d;p=ppp.git diff --git a/pppd/plugins/passprompt.c b/pppd/plugins/passprompt.c index a579b91..6c2c828 100644 --- a/pppd/plugins/passprompt.c +++ b/pppd/plugins/passprompt.c @@ -14,6 +14,8 @@ #include #include "pppd.h" +char pppd_version[] = VERSION; + static char promptprog[PATH_MAX+1]; static option_t options[] = { @@ -28,7 +30,7 @@ static int promptpass(char *user, char *passwd) int p[2]; pid_t kid; int readgood, wstat; - size_t red; + ssize_t red; if (promptprog[0] == 0 || access(promptprog, X_OK) < 0) return -1; /* sorry, can't help */