From 60426fed465fb89bc9598b4b1c0071af13fb5235 Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Thu, 13 Jul 2006 00:32:41 +0000 Subject: [PATCH] * pppd/sys-rtems.c: fixed error message so that the correct ioctl is reported. --- cpukit/ChangeLog | 5 +++++ cpukit/pppd/sys-rtems.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index de5c5485e4..aadec4844b 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2006-07-12 Till Straumann + + * pppd/sys-rtems.c: fixed error message so that the correct + ioctl is reported. + 2006-07-11 Joel Sherrill PR 1124/rtems diff --git a/cpukit/pppd/sys-rtems.c b/cpukit/pppd/sys-rtems.c index 79580482ff..0bcc3914ff 100644 --- a/cpukit/pppd/sys-rtems.c +++ b/cpukit/pppd/sys-rtems.c @@ -778,7 +778,7 @@ sifvjcomp(u, vjcomp, cidcomp, maxcid) return 0; } if (vjcomp && ioctl(ppp_fd, PPPIOCSMAXCID, (caddr_t) &maxcid) < 0) { - error("ioctl(PPPIOCSFLAGS): %m"); + error("ioctl(PPPIOCSMAXCID): %m"); return 0; } return 1;