forked from Imagelibrary/rtems
* pppd/sys-rtems.c: fixed error message so that the correct
ioctl is reported.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user