Project

General

Profile

Actions

Fix #3180

closed

use of strerror() for possibly-negative return values

Added by Dan Mick over 11 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

System calls and similar routines throughout Ceph use negative constant return codes
to indicate error; strerror() is specified to take a positive value. cpp_strerror()
exists for this, and should be used.

Actions

Also available in: Atom PDF