]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use NULL instead of 0 for pointers.
authoraraujo <araujo@FreeBSD.org>
Thu, 14 Apr 2016 12:46:46 +0000 (12:46 +0000)
committeraraujo <araujo@FreeBSD.org>
Thu, 14 Apr 2016 12:46:46 +0000 (12:46 +0000)
commitdfba24f3a9c24d6bed8d5f156511b35780c78a4d
tree547aff17598362096cb610bb395a7f2617a41515
parent7fcaa03f4f96980c20e94f179950edf684aecb7f
Use NULL instead of 0 for pointers.

The strchr(3) returns a NULL if the character does not appears in the string.
The malloc will return NULL if cannot allocate memory.
usr.sbin/fdread/fdread.c
usr.sbin/fdread/fdutil.c