Skip to content

Commit

Permalink
For pointers use NULL instead of 0.
Browse files Browse the repository at this point in the history
MFC after:	2 weeks.
  • Loading branch information
araujobsd committed May 16, 2016
1 parent 798a749 commit f8358c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/quotacheck/quotacheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ lookup(u_long id, int type)
{
struct fileusage *fup;

for (fup = fuhead[type][id & (FUHASH-1)]; fup != 0; fup = fup->fu_next)
for (fup = fuhead[type][id & (FUHASH-1)]; fup != NULL; fup = fup->fu_next)
if (fup->fu_id == id)
return (fup);
return (NULL);
Expand Down

0 comments on commit f8358c1

Please sign in to comment.