X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnu%2Fgetfilecon.c;h=ef6adc8d89a30185429bf16f1a122ad7214071b9;hb=d30babc23b4f25be970ada2e63a50220a3672281;hp=80d6fb212cb79c610333a22a2ad41a7d834a9f39;hpb=4aa85f09e755fc827cd5ab6225f20c83cd42245d;p=debian%2Ftar diff --git a/gnu/getfilecon.c b/gnu/getfilecon.c index 80d6fb21..ef6adc8d 100644 --- a/gnu/getfilecon.c +++ b/gnu/getfilecon.c @@ -1,7 +1,5 @@ -/* -*- buffer-read-only: t -*- vi: set ro: */ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* wrap getfilecon, lgetfilecon, and fgetfilecon - Copyright (C) 2009-2014 Free Software Foundation, Inc. + Copyright (C) 2009-2015 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 @@ -59,6 +57,7 @@ map_to_failure (int ret, security_context_t *con) if (ret == 10 && strcmp (*con, "unlabeled") == 0) { freecon (*con); + *con = NULL; errno = ENODATA; return -1; }