Commit 59d4edd2 authored by Mike Hibler's avatar Mike Hibler

Fix a check in imageinfo.

I am not 100% sure this is correct, but if not correct, it is at least
no more wrong than the old code!
parent 091db30e
......@@ -4868,8 +4868,7 @@ COMMAND_PROTOTYPE(doloadinfo)
snprintf(_buf, sizeof _buf,
"%s/sbin/imageinfo -qm -N %s "
TBROOT, reqp->isvnode ?
reqp->pnodeid : reqp->nodeid,
TBROOT, reqp->nodeid,
row[8], row[7]);
if ((cfd = popen(_buf, "r")) == NULL) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment