No driver in dmap is NONE instead of 0.

This commit is contained in:
Ben Gras 2005-10-10 14:27:41 +00:00
parent 2e60aad2bb
commit 4dfe841667

View file

@ -73,7 +73,7 @@ PUBLIC void dtab_dmp()
printf("Major Proc Flags\n"); printf("Major Proc Flags\n");
printf("----- ---- -----\n"); printf("----- ---- -----\n");
for (i=0; i<NR_DEVICES; i++) { for (i=0; i<NR_DEVICES; i++) {
if (dmap[i].dmap_driver == 0) continue; if (dmap[i].dmap_driver == NONE) continue;
printf("%5d %4d %s\n", printf("%5d %4d %s\n",
i, dmap[i].dmap_driver, dmap_flags(dmap[i].dmap_flags)); i, dmap[i].dmap_driver, dmap_flags(dmap[i].dmap_flags));
} }