make rbs_sabm compile against modern libosmocore
parent
4bbe82c9b6
commit
ed9a99a224
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <dahdi/user.h>
|
||||
|
||||
#include <osmocore/utils.h>
|
||||
#include <osmocom/core/utils.h>
|
||||
|
||||
/* this program wants to be called with 'strace -s1024 -x' so you see the data
|
||||
* betewen DAHDI and it */
|
||||
|
@ -49,7 +49,7 @@ static void dummy_read(int fd, unsigned int len)
|
|||
if (rc == -1)
|
||||
handle_dahdi_exception(fd);
|
||||
else if (rc > 0)
|
||||
printf("Received %u bytes (%s)\n", rc, hexdump(dummy_buf, rc));
|
||||
printf("Received %u bytes (%s)\n", rc, osmo_hexdump(dummy_buf, rc));
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
|
Loading…
Reference in New Issue