| Submitter | Kevin Wolf |
|---|---|
| Date | Sept. 8, 2010, 1:29 p.m. |
| Message ID | <1283952582-17498-19-git-send-email-kwolf@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/64141/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/qemu-io.c b/qemu-io.c index 2dbe20f..bd3bd16 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -1427,11 +1427,8 @@ alloc_f(int argc, char **argv) cvtstr(offset, s1, sizeof(s1)); - if (nb_sectors == 1) - printf("sector allocated at offset %s\n", s1); - else - printf("%d/%d sectors allocated at offset %s\n", - sum_alloc, nb_sectors, s1); + printf("%d/%d sectors allocated at offset %s\n", + sum_alloc, nb_sectors, s1); return 0; }