Module Name: src
Committed By: pgoyette
Date: Sat Apr 3 02:08:31 UTC 2010
Modified Files:
src/dist/pppd/pppd: utils.c
Log Message:
Insert missing )
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/dist/pppd/pppd/utils.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/dist/pppd/pppd/utils.c
diff -u src/dist/pppd/pppd/utils.c:1.4 src/dist/pppd/pppd/utils.c:1.5
--- src/dist/pppd/pppd/utils.c:1.4 Fri Apr 2 15:40:14 2010
+++ src/dist/pppd/pppd/utils.c Sat Apr 3 02:08:30 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: utils.c,v 1.4 2010/04/02 15:40:14 christos Exp $ */
+/* $NetBSD: utils.c,v 1.5 2010/04/03 02:08:30 pgoyette Exp $ */
/*
* utils.c - various utility functions used in pppd.
@@ -35,7 +35,7 @@
#if 0
#define RCSID "Id: utils.c,v 1.24 2004/11/04 10:02:26 paulus Exp"
#else
-__RCSID("$NetBSD: utils.c,v 1.4 2010/04/02 15:40:14 christos Exp $");
+__RCSID("$NetBSD: utils.c,v 1.5 2010/04/03 02:08:30 pgoyette Exp $");
#endif
#endif
@@ -272,7 +272,7 @@
case 't':
time(&t);
if ((str = ctime(&t)) == NULL)
- strlcpy(str = num, "?", sizeof(num);
+ strlcpy(str = num, "?", sizeof(num));
else {
str += 4; /* chop off the day name */
str[15] = 0; /* chop off year and newline */