[openbeos] driver dprintf question

Hi all,

i am debugging my ps2 input device driver. for that i am using the kernel
syslog file by using dprintf.

i wanted to print timeout values of type t_bigtime that hold SystemTime()
values.

dprintf("start value: %ld, stop value: %ld.\n",
                start_time,
                stop_time);

when compiling this i get warnings that the types don't match.

when i look in the syslog file, i get something like
"start value: 2546000, stop value: 0"
the last value is always 0. any ideas?

kind regards,
    Bruno.

Other related posts: