utils: matchpathcon add deprecated warning

Add a deprecated warning to matchpathcon encouraging users to switch to
selabel_lookup.

Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
William Roberts 2020-04-15 16:14:26 -05:00
parent 327ec8eb18
commit c7020954ca
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ int main(int argc, char **argv)
int error = 0;
int quiet = 0;
fprintf(stderr,
"Deprecated, use selabel_lookup\n");
if (argc < 2)
usage(argv[0]);