Project

General

Profile

Bug #10024

loader: set command_errmsg to NULL after printing it out

Added by Toomas Soome 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-12-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

When handling CMD_CRIT error set command_errmsg to NULL after we dump it out,
so that it does not result in error message printed twice.

OK load doodoo
can't find 'doodoo'
can't find 'doodoo'
OK
https://svnweb.freebsd.org/base?view=revision&revision=341276

History

#1

Updated by Electric Monk 11 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 314a1e32ce63a57bd7629fa3efdbe28f591b8708

commit  314a1e32ce63a57bd7629fa3efdbe28f591b8708
Author: Toomas Soome <tsoome@me.com>
Date:   2018-12-05T01:21:32.000Z

    10024 loader: set command_errmsg to NULL after printing it out
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: Jason King <jason.king@joyent.com>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Also available in: Atom PDF