Fix compilation error:
/boot/home/openbeos-cvs/stable/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPLCP.cpp: In method `status_t PPPLCP::Receive(struct mbuf *, short unsigned int)': /boot/home/openbeos-cvs/stable/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPLCP.cpp:221: implicit declaration of function `int printf(...)' {We're in kernel land now, so we use dprintf instead of printf} git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
38c567ca83
commit
8deb422714
@ -218,7 +218,7 @@ PPPLCP::Receive(struct mbuf *packet, uint16 protocolNumber)
|
||||
return B_ERROR;
|
||||
|
||||
if(protocolNumber != PPP_LCP_PROTOCOL) {
|
||||
printf("PPPLCP::Receive(): wrong protocol number!\n");
|
||||
dprintf("PPPLCP::Receive(): wrong protocol number!\n");
|
||||
return PPP_UNHANDLED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user