Project

General

Profile

Actions

Bug #11408

closed

priocntl: 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:

    priocntl.c: In function 'prio_getopt':
    priocntl.c:1079:44: error: comparison between pointer and integer [-Werror]
       else if (strcmp(argv[prio_optind], "--") == 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 e0a59e987c88dc1f6ff89d2a31408275b8f723ae

commit  e0a59e987c88dc1f6ff89d2a31408275b8f723ae
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-26T05:35:48.000Z

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

Actions

Also available in: Atom PDF