summary refs log tree commit diff stats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-09-08 14:26:57 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-09-08 14:26:57 -0500
commitaab2e8f79ad253c760787ff3ce4d64967fed0003 (patch)
treebc837d155b4d558b71ad196c561f9e71c10136d0 /qemu-io.c
parentdccbe6fbab47c9a2589f436e0592933b47cbe40b (diff)
parent7ec5e6a4ca43494949465f9f9f3d9e4c7c620503 (diff)
downloadfocaccia-qemu-aab2e8f79ad253c760787ff3ce4d64967fed0003.tar.gz
focaccia-qemu-aab2e8f79ad253c760787ff3ce4d64967fed0003.zip
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'qemu-io.c')
-rw-r--r--qemu-io.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/qemu-io.c b/qemu-io.c
index 2dbe20f33e..bd3bd16fdf 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;
 }