diff --git a/kernel-shared/volumes.c b/kernel-shared/volumes.c index b21231efe8..93336841c5 100644 --- a/kernel-shared/volumes.c +++ b/kernel-shared/volumes.c @@ -2434,7 +2434,7 @@ static int read_one_chunk(struct btrfs_fs_info *fs_info, struct btrfs_key *key, NULL); if (!map->stripes[i].dev) { map->stripes[i].dev = fill_missing_device(devid, uuid); - printf("warning, device %llu is missing\n", + warning("warning, device %llu is missing\n", (unsigned long long)devid); list_add(&map->stripes[i].dev->dev_list, &fs_info->fs_devices->devices);