Re: make test fails (Kernel 2.6.12.3)
"Peter T. Breuer" <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
"Also sprach Robert Scussel:" This one ... > /var/tmp/nbd-2.4.32/nbd/lock.c: In function čnbd_lock_down_timeout': > /var/tmp/nbd-2.4.32/nbd/lock.c:108: warning: long long int format, long int arg (arg 4) seems to say that you do not have the same code copy as me: 106 fprintf(stderr, "lock on %Ld-%Ld held by another process\n", 107 (long long)lock.l_start, 108 (long long)lock.l_start + lock.l_len - 1); Both my args are explicitly cast to long long! What does your code copy say there? There was also some horribleness in the ioctl code args. Is the arg to an ioctl a char * or a long? Oh, I suppose it doesn't matter. Peter