Project

General

Profile

Actions

Bug #10849

closed

installboot: use err.h api and strdup()

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

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

We do not need to reinvent things.

Actions #1

Updated by Electric Monk over 4 years ago

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

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>

Actions

Also available in: Atom PDF