Don't try to print a field that doesn't exist; in usually commented

out debugging code.
This commit is contained in:
Jake Burkholder 2001-07-31 03:51:07 +00:00
parent 7e5102989e
commit 98b0e9d587

View File

@ -298,8 +298,8 @@ linker_load_file(const char* filename, linker_file_t* result)
lf = NULL;
foundfile = 0;
TAILQ_FOREACH(lc, &classes, link) {
KLD_DPF(FILE, ("linker_load_file: trying to load %s as %s\n",
filename, lc->desc));
KLD_DPF(FILE, ("linker_load_file: trying to load %s\n",
filename));
error = LINKER_LOAD_FILE(lc, filename, &lf);
/*
* If we got something other than ENOENT, then it exists but we cannot