freebsd-skq/usr.sbin/rmt
araujo 7fcaa03f4f Use NULL instead of 0 for pointers.
fopen(3) will return NULL in case it can't open the STREAM.
The malloc will return a pointer to the allocated memory if successful,
otherwise a NULL pointer is returned.

Also add an extra DEBUG1 to print out the error to open a file.

Reviewed by:	ed
Differential Revision:	https://svnweb.freebsd.org/changeset/base/297959
2016-04-14 12:25:00 +00:00
..
Makefile
Makefile.depend
rmt.8
rmt.c Use NULL instead of 0 for pointers. 2016-04-14 12:25:00 +00:00