fix: smack_new_from_path() follow parameter
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>
Mon, 3 Jun 2013 08:20:16 +0000 (11:20 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@intel.com>
Mon, 3 Jun 2013 08:20:16 +0000 (11:20 +0300)
commit809661040d632f4b08ac33a0715db60788d450fc
tree8eeb39c5acc738dcfdeadaf6f239419afc00808c
parentf409c172e8b26f3846449a363414874960f30d1d
fix: smack_new_from_path() follow parameter

Mistake in smack_new_from_path(). When follow is true getxattr()
should be called and lgetxattr() otherwise.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
libsmack/libsmack.c