summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-14 01:18:51 +0000
committerbrian <brian@FreeBSD.org>1997-05-14 01:18:51 +0000
commit82b9d3453b70c7b4253760d0d99bbf05ec2e590f (patch)
treeb99f03dff79548ee24f43ed01997f9e85c797ac1 /usr.sbin/ppp/command.c
parent0a48c2a0e8eb9589e753ec67c9d05e964e76c931 (diff)
downloadFreeBSD-src-82b9d3453b70c7b4253760d0d99bbf05ec2e590f.zip
FreeBSD-src-82b9d3453b70c7b4253760d0d99bbf05ec2e590f.tar.gz
Build pid_filename without a double slash.
Make ``Dial attempt'' diagnostics consistent. Reset lostCarrier when it has reached max. Suggested by: Kevin Street <street@iName.com>
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 8685bb4..4e51046 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.44 1997/05/10 03:39:51 brian Exp $
+ * $Id: command.c,v 1.45 1997/05/10 23:46:29 ache Exp $
*
*/
#include <sys/types.h>
@@ -143,7 +143,7 @@ char **argv;
}
tries = 0;
do {
- printf("Dial attempt %u\n", ++tries);
+ printf("Dial attempt %u of %d\n", ++tries, VarDialTries);
modem = OpenModem(mode);
if (modem < 0) {
printf("failed to open modem.\n");
OpenPOWER on IntegriCloud