Bug #7877
closed
libadm: the if condition is wrong in devreserv.c
Added by Toomas Soome almost 7 years ago.
Updated over 6 years ago.
Category:
lib - userland libraries
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)
^~
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 2ed5314abaaa33c8ed0962cdac20e5a2b61de46b
commit 2ed5314abaaa33c8ed0962cdac20e5a2b61de46b
Author: Toomas Soome <tsoome@me.com>
Date: 2017-03-21T18:54:17.000Z
7877 libadm: the if condition is wrong in devreserv.c
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Also available in: Atom
PDF