X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetfilecon.c;h=29e16ec9a85d252d763c4bccbf804ec035625ea6;hb=8866a241ddbf4a459347b7147e325f539e4c07fe;hp=bc8288f561d3958b37755c3278e8f4c84720af98;hpb=341111f654709cd0295607a4abbe721495c77e90;p=gnulib.git diff --git a/lib/getfilecon.c b/lib/getfilecon.c index bc8288f56..29e16ec9a 100644 --- a/lib/getfilecon.c +++ b/lib/getfilecon.c @@ -1,5 +1,5 @@ /* wrap getfilecon, lgetfilecon, and fgetfilecon - Copyright (C) 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,7 +45,7 @@ int fgetfilecon (int fd, security_context_t *con); "unlabeled" context. Map both failures to a return value of -1, and set errno to ENOTSUP in the first case, and ENODATA in the latter. */ -static inline int +static int map_to_failure (int ret, security_context_t *con) { if (ret == 0)