summaryrefslogtreecommitdiffstats
path: root/src/ewf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-04-12 11:49:36 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-04-12 11:49:36 +0200
commit480320fe82922296d6c181ddcc95fbf5cf566330 (patch)
treebe77470b892dd3fae623c9f677e7f752a860e283 /src/ewf.c
parent062da3696d295e903d2e3e97d225c6794653b597 (diff)
Cylinder is now long unsigned int. Fix a parameter inversion for the DOS version.
Diffstat (limited to 'src/ewf.c')
-rw-r--r--src/ewf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ewf.c b/src/ewf.c
index 4b7ac35..ed06841 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -176,7 +176,7 @@ static const char *fewf_description(disk_t *disk)
{
const struct info_fewf_struct *data=(const struct info_fewf_struct *)disk->data;
char buffer_disk_size[100];
- snprintf(disk->description_txt, sizeof(disk->description_txt),"Image %s - %s - CHS %u %u %u%s",
+ snprintf(disk->description_txt, sizeof(disk->description_txt),"Image %s - %s - CHS %lu %u %u%s",
data->file_name, size_to_unit(disk->disk_size,buffer_disk_size),
disk->geom.cylinders, disk->geom.heads_per_cylinder, disk->geom.sectors_per_head,
((data->mode&O_RDWR)==O_RDWR?"":" (RO)"));