Project

General

Profile

Actions

Bug #11349

closed

intrstat: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 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:
External Bug:

Description

Build errors with NULL pointer:

../intrstat.c: In function 'main':
../intrstat.c:523:12: error: comparison between pointer and integer [-Werror]
   if (*end != NULL || g_sleeptime == 0)
            ^~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit 20a3e33ee8365e14c2734bec09c4c97516bea96c

commit  20a3e33ee8365e14c2734bec09c4c97516bea96c
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-12T06:14:34.000Z

    11349 intrstat: NULL pointer errors
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF