fix compilation with FORTIFY_SOURCE
commit88da5e944783c8c97686507eb030f82724ca4638
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 21 Nov 2008 14:09:07 +0000 (21 15:09 +0100)
committeraldot <rep.dot.nop@gmail.com>
Fri, 21 Nov 2008 14:09:07 +0000 (21 15:09 +0100)
tree98f5b6b648100d97bbdd4fd07a67578d01986e2e
parent7be47a7657c7aa929cda3f57a6a1102bd4a3d3c1
fix compilation with FORTIFY_SOURCE

  _FORTIFY_SOURCE=2 complained about not looking at the return value
  of system("/bin/sync"). Just call libc's sync(2). (Brian Foster)
target/makedevs/makedevs.c