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:"
> checking size of unsigned char... 1
> checking for unsigned short int... yes
> checking size of unsigned short int... 2
> checking for unsigned int... yes
> checking size of unsigned int... 4
> checking for unsigned long int... yes
> checking size of unsigned long int... 8
> checking for unsigned long long int... yes
> checking size of unsigned long long int... 8
> checking for char... yes
> checking size of char... 1
> checking for short int... yes
> checking size of short int... 2
> checking for int... yes
> checking size of int... 4
> checking for long int... yes
> checking size of long int... 8
> checking for long long int... yes
> checking size of long long int... 8


Oyyyyyyyyy weh. Let me see ... your long ints are 8 bytes long, but your
ints are 4 bytes long. Yet as far as I can see, you believe that u64 is 
long unsigned int ...



> /var/tmp/nbd-2.4.32/nbd/file.c:405: warning: long long int format, long 
> unsigned int arg (arg 4)

334     static int
335     getsize1(struct nbd_file * self, int fd, u64 *res) {
...
405         MSG("set size of fd %d to %Ld\n", fd, *res);
...


Well, OK. Sigh. Pardon me for believing that that is EXTREMELY SILLY.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.