Opened 6 years ago

Closed 6 years ago

#140 closed defect (fixed)

flashrom: Consistently use stderr for error printing

Reported by: uwe Owned by: somebody
Priority: minor Milestone: flashrom v1.0
Component: flashrom (please use trac on Keywords:
Cc: Dependencies:
Patch Status: patch has been committed


We're not very consistent with error printing in flashrom. Many errors go to stdout instead of stderr. We should fix that by using fprintf(stderr, "Foo") where needed.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by hailfinger

We should introduce message severity levels and use msg_foo("bla") instead of printk so that this works in libflashrom. There was a discussion on flashrom@ about this feature.

comment:2 Changed 6 years ago by hailfinger

  • Patch Status changed from there is no patch to patch has been committed
  • Resolution set to fixed
  • Status changed from new to closed

Message severity levels have been merged and quite a few error messages have been reclassified.

Add Comment

Modify Ticket

as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.