Project

General

Profile

Actions

Bug #7877

closed

libadm: the if condition is wrong in devreserv.c

Added by Toomas Soome over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-02-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

../common/devreserv.c:475:45: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
       if (!write(lkfilefd, locklist, tblsz) == (ssize_t)tblsz)
                                             ^~
Actions

Also available in: Atom PDF