[LTP] [PATCH 1/3] tst_ioctl: Cleanup the code

Petr Vorel pvorel@suse.cz
Sun Dec 10 17:22:29 CET 2023


Hi Cyril,

> Hi!

> >  	if (ioctl(fd, FIBMAP, &block)) {
> >  		tst_res(TINFO | TERRNO, "FIBMAP ioctl is NOT supported");
> >  		close(fd);

> This should be SAFE_CLOSE() as well, since we are doing the conversion.

Good point, thanks. I added missing license and merged.

Kind regards,
Petr


More information about the ltp mailing list