Project

General

Profile

Actions

Bug #11410

closed

prtconf: NULL pointer errors

Added by Toomas Soome almost 3 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    ../prt_xxx.c: In function 'dump_priv_data':
    ../prt_xxx.c:397:55: error: comparison between pointer and integer [-Werror]
      if ((priv = (uintptr_t)di_parent_private_data(node)) == NULL)
                                                           ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 3 years ago

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

git commit 90155ca7905a1e7bd819d9b7289606ea706e839e

commit  90155ca7905a1e7bd819d9b7289606ea706e839e
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-26T05:40:55.000Z

    11410 prtconf: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF