[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#724458: RFP: diskscan -- Scan disk for bad or near failure sectors



Hi Francois and Baruch!

How are you?

I liked of the program idea and philosofy. I am thinking to maintain
it on Debian. However, I wasn't able to compile the code on
Wheezy/Sid. Please, see the errors:

---------------------------------------------------
cli/cli.c: In function ‘report_scan_done’:
cli/cli.c:67:4: error: format ‘%llu’ expects argument of type ‘long
long unsigned int’, but argument 2 has type ‘uint64_t’
[-Werror=format=]
    printf("%8llu: %llu\n", histogram_time[hist_idx],
disk->histogram[hist_idx]);
    ^
cli/cli.c:67:4: error: format ‘%llu’ expects argument of type ‘long
long unsigned int’, but argument 3 has type ‘uint64_t’
[-Werror=format=]
cli/cli.c:69:4: error: format ‘%llu’ expects argument of type ‘long
long unsigned int’, but argument 3 has type ‘uint64_t’
[-Werror=format=]
    printf("%8s: %llu\n", "above that", disk->histogram[hist_idx]);
    ^
cc1: all warnings being treated as errors
do:       cli/cli.o: got exit code 1
do:     cli/cli.a: got exit code 1
do:   diskscan: got exit code 1
do: all: got exit code 1
make: ** [all] Erro 1
---------------------------------------------------

I think it is an upstream code problem. Can you help me, if it was a
mistake of mine, or provide a new (updated) code?

Have a nice day!

Regards,

Eriberto


Reply to: