No driver in dmap is NONE instead of 0.
This commit is contained in:
parent
2e60aad2bb
commit
4dfe841667
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue