]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/libndb/ndbfree.c
igfx: support blanking by turning off panel power and backlight
[plan9front.git] / sys / src / libndb / ndbfree.c
index d3f27feb58b683512719a32ad309c20173d78dc8..f78d38554b43d7fa1b3d70c9f2d9f1cc5659cc13 100644 (file)
@@ -71,6 +71,6 @@ ndbnew(char *attr, char *val)
 void
 ndbsetmalloctag(Ndbtuple *t, uintptr tag)
 {
-       for(; t; t=t->entry)
+       for(; t != nil; t=t->entry)
                setmalloctag(t, tag);
 }