Actions
Bug #8032
closedlibtnfctl: add EAGAIN to prb_status_t enum list
Start date:
2017-04-05
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
From gcc-6 build:
../prb_child.c:272:2: error: case value '11' not in enumerated type 'prb_status_t {aka enum prb_status}' [-Werror=switch] case EAGAIN: ^~~~ cc1: all warnings being treated as errors ../open.c: In function 'step_to_end_of_exec': ../open.c:457:2: error: case value '11' not in enumerated type 'prb_status_t {aka enum prb_status}' [-Werror=switch] case EAGAIN: ^~~~ cc1: all warnings being treated as errors
Updated by Toomas Soome over 6 years ago
- Subject changed from libtnfctl: use int instead of prb_status_t for status check to libtnfctl: add EAGAIN to prb_status_t enum list
The problem is about prb_status enum missing the EAGAIN value, so we need to include this value in enum.
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
git commit 8e1c282f21a1ca9422d0f1c9922b6679bb245185
commit 8e1c282f21a1ca9422d0f1c9922b6679bb245185 Author: Toomas Soome <tsoome@me.com> Date: 2017-04-25T23:39:38.000Z 8032 libtnfctl: add EAGAIN to prb_status_t enum list 8039 libtnfctl: prb_child.c cstyle cleanup Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
Actions