summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-02-28 21:48:29 -0800
committerHans Dedecker <dedeckeh@gmail.com>2017-03-04 21:27:01 +0100
commit9eac2a8963415e6a74c2fc13a3c8d05cd0f81d4d (patch)
treed9d67127eb604bbd0a4e1e2d7d82ccc03cbe9757 /README
parent1b630f8bc59978884c9caccebca3b6d8e9b045a1 (diff)
dhcpv6-ia: Check lockf return value
Check the lockf return value to fix the following warning/error: /home/fainelli/dev/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/odhcpd-2017-02-21-1b630f8b/src/dhcpv6-ia.c: In function 'dhcpv6_write_statefile': /home/fainelli/dev/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/odhcpd-2017-02-21-1b630f8b/src/dhcpv6-ia.c:246:8: error: ignoring return value of 'lockf', declared with attribute warn_unused_result [-Werror=unused-result] lockf(fd, F_LOCK, 0); ^ cc1: all warnings being treated as errors Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions