aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-06-27 12:03:46 +0000
committerBrian Somers <brian@FreeBSD.org>1998-06-27 12:03:46 +0000
commit7d81ddf5bd94728dd7b400f6fb11bf70f052832a (patch)
treebd2b240396a6c76aab40f31288d1d5b3a59740ad
parent032d4276899f766315bfa347f096af9787d09194 (diff)
Notes
-rw-r--r--usr.sbin/ppp/bundle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index 78e8cb02b263..620426babe5a 100644
--- a/usr.sbin/ppp/bundle.c
+++ b/usr.sbin/ppp/bundle.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bundle.c,v 1.23 1998/06/24 19:33:30 brian Exp $
+ * $Id: bundle.c,v 1.24 1998/06/27 12:03:35 brian Exp $
*/
#include <sys/param.h>
@@ -1457,7 +1457,7 @@ bundle_ReceiveDatalink(struct bundle *bundle, int s, struct sockaddr_un *sun)
if (strncmp(Version, iov[0].iov_base, iov[0].iov_len)) {
log_Printf(LogWARN, "Cannot receive datalink, incorrect version"
" (\"%.*s\", not \"%s\")\n", (int)iov[0].iov_len,
- iov[0].iov_base, Version);
+ (char *)iov[0].iov_base, Version);
close(link_fd);
while (niov--)
free(iov[niov].iov_base);