{
DIR *dir;
struct dirent *d;
- struct blkdev_cxt part_cxt = {};
+ struct blkdev_cxt part_cxt = { 0 };
int r = -1;
assert(wholedisk_cxt);
{
DIR *dir;
struct dirent *d;
- struct blkdev_cxt dep = {};
+ struct blkdev_cxt dep = { 0 };
char dirname[PATH_MAX];
const char *depname;
{
DIR *dir;
struct dirent *d;
- struct blkdev_cxt cxt = {};
+ struct blkdev_cxt cxt = { 0 };
if (!(dir = opendir(_PATH_SYS_BLOCK)))
return EXIT_FAILURE;
static int process_one_device(char *devname)
{
- struct blkdev_cxt parent = {}, cxt = {};
+ struct blkdev_cxt parent = { 0 }, cxt = { 0 };
struct stat st;
char buf[PATH_MAX + 1], *name, *diskname = NULL;
dev_t disk = 0;