]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use NULL instead of 0 for pointers.
authoraraujo <araujo@FreeBSD.org>
Fri, 15 Apr 2016 04:10:47 +0000 (04:10 +0000)
committeraraujo <araujo@FreeBSD.org>
Fri, 15 Apr 2016 04:10:47 +0000 (04:10 +0000)
commit42fc76f74c74a5beb3ed5569b6ac76f02023ccbc
treed0c029029a6ca870d18f50c2a5ebd17991fbdeb8
parent6a05420923a114ee956c787104be39dfffeccbcd
Use NULL instead of 0 for pointers.

fgetln(3) will returns NULL if cannot get a line from a stream.
strsep(3) it will returns NULL if the end of the string was reached.
jemalloc(3) malloc will returns NULL if it cannot allocate memory.
fgetln(3) it will returns NULL if it cannot get a line from a stream.

MFC after: 4 weeks
usr.sbin/tzsetup/tzsetup.c