Project

General

Profile

Actions

Bug #1154

closed

lttng-context-provider.c:74: bad compare ?

Added by David Binderman over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/20/2018
Due date:
% Done:

100%

Estimated time:

Description

lttng-context-provider.c:74]: (error) Invalid strncmp() argument nr 3. A non-boolean value is required.

Source code is

if (strncmp("$app.", provider->name, strlen("$app.") != 0))

maybe better code

if (strncmp("$app.", provider->name, strlen("$app.")) != 0)
Actions #1

Updated by Mathieu Desnoyers over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF