mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-02-26 18:35:50 +01:00
Reference band files by hex value instead of decimal
This commit is contained in:
@@ -96,9 +96,9 @@ static int sparsebundle_read(const char *path, char *buffer, size_t length, off_
|
||||
ssize_t to_read = length - bytes_read;
|
||||
|
||||
char *band_name;
|
||||
asprintf(&band_name, "%s/bands/%jd", SB_DATA->path, intmax_t(band_number));
|
||||
asprintf(&band_name, "%s/bands/%llx", SB_DATA->path, band_number);
|
||||
|
||||
log("\tReading band %llu at offet %llu (bytes_read: %zu to_read: %zu\n",
|
||||
log("\tReading band %llx at offet %llu (bytes_read: %zu to_read: %zu\n",
|
||||
band_number, band_offset, bytes_read, to_read);
|
||||
|
||||
ssize_t read = 0;
|
||||
|
||||
Reference in New Issue
Block a user