]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim, setarch: replace error() with err()
authorFrancesco Cosoleto <cosoleto@gmail.com>
Thu, 2 Jun 2011 19:17:57 +0000 (21:17 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Jun 2011 11:09:18 +0000 (13:09 +0200)
commitc60103a9f3e06fc1cd11f0a5ed83c0d12a631224
tree360e7662ea0461798520ff65842206a3aa722e6d
parentacfa47232f262ab8cfc6f0eb1363eeda3ed56b9d
fstrim, setarch: replace error() with err()

This should improve a bit the portability as error() is a GNU extension and
util-linux provides fallbacks for err.h functions.

Fix compilation with icc, broken due to a reference to `__builtin_va_arg_pack'
in error.h using the -gcc default option.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
sys-utils/fstrim.c
sys-utils/setarch.c