if (k_pioctl (path, VIOCGETVOLSTAT, &a_params, 0) == -1) {
if (k_pioctl (path, VIOCGETVOLSTAT, &a_params, 1) == -1) {
void afs_diskfree (char *path){    struct ViceIoctl      a_params;    struct VolumeStatus  *status;    a_params.in_size = 0;    a_params.out_size = MAXSIZE;    a_params.in = NULL;    a_params.out = malloc (MAXSIZE);    if (a_params.out == NULL) {	printf ("fs: Out of memory\n");	return;    }    if (k_pioctl (path, VIOCGETVOLSTAT, &a_params, 0) == -1) {	fserr(PROGNAME, errno, path);	free(a_params.out);	return;    }    status = (struct VolumeStatus *) a_params.out;    printf ("%-20s%8d%8d%8d%9.0f%%\n",	    a_params.out + sizeof (struct VolumeStatus),	    status->PartMaxBlocks,	    status->PartMaxBlocks - status->PartBlocksAvail,	    status->PartBlocksAvail,	    (float) (status->PartMaxBlocks - status->PartBlocksAvail) / status->PartMaxBlocks * 100);    free (a_params.out);}