* pppd/sys-rtems.c: fixed error message so that the correct

ioctl is reported.
This commit is contained in:
Till Straumann
2006-07-13 00:32:41 +00:00
parent 05e2e4ca29
commit 60426fed46
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2006-07-12 Till Straumann <strauman@slac.stanford.edu>
* pppd/sys-rtems.c: fixed error message so that the correct
ioctl is reported.
2006-07-11 Joel Sherrill <joel@OARcorp.com>
PR 1124/rtems

View File

@@ -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;