summaryrefslogtreecommitdiffstats
path: root/disk-utils/blockdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/blockdev.c')
-rw-r--r--disk-utils/blockdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c
index 0674780b8..ee7525439 100644
--- a/disk-utils/blockdev.c
+++ b/disk-utils/blockdev.c
@@ -178,7 +178,7 @@ static const struct bdc bdcms[] =
static void __attribute__ ((__noreturn__)) usage(FILE * out)
{
- int i;
+ size_t i;
fprintf(out, _("\nUsage:\n"
" %1$s -V\n"
" %1$s --report [devices]\n"
@@ -201,7 +201,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
static int
find_cmd(char *s) {
- int j;
+ size_t j;
for (j = 0; j < ARRAY_SIZE(bdcms); j++)
if (!strcmp(s, bdcms[j].name))