route: Fix compile warning with glibc master
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Jan 2023 16:23:07 +0000 (17:23 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Jan 2023 17:48:09 +0000 (18:48 +0100)
commitf646ba40489371e69f624f2dee2fc4e19ceec00e
tree0f47a4e388163bcaa70507479977dc43148e4182
parentf4d759be54ceb37714e9a6ca320d5b50c95e9ce9
route: Fix compile warning with glibc

This fixes the following compile problem:
````
/route.c: In function 'rtnl_flush':
/route.c:45:15: error: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Werror=unused-result]
   45 |         (void)write(fd, "-1", 2);
      |               ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
````

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
route.c