-call_blockdev (const char *device, char *switc, int extraarg, int prints)
+call_blockdev (const char *device, const char *switc, int extraarg, int prints)
do_blockdev_setbsz (const char *device, int blocksize)
{
if (blocksize <= 0 /* || blocksize >= what? */) {
do_blockdev_setbsz (const char *device, int blocksize)
{
if (blocksize <= 0 /* || blocksize >= what? */) {
return -1;
}
return (int) call_blockdev (device, "--setbsz", blocksize, 0);
return -1;
}
return (int) call_blockdev (device, "--setbsz", blocksize, 0);