Project

General

Profile

Bug #10849

installboot: use err.h api and strdup()

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2019-04-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

printf() + exit() is err() or errx().
malloc() + strcpy() is strdup().

We do not need to reinvent things.

History

#1

Updated by Electric Monk 7 months ago

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

git commit bdecfb1e5c840f07ab6122d9c8168b1a438db7dd

commit  bdecfb1e5c840f07ab6122d9c8168b1a438db7dd
Author: Toomas Soome <tsoome@me.com>
Date:   2019-05-06T15:45:52.000Z

    10849 installboot: use err.h api and strdup()
    Reviewed by: Robert MusMustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF