tools: rename an enum value to fix a FreeBSD 14 name clash

Fixes #931
This commit is contained in:
Peter Hutterer 2023-08-31 12:20:08 +10:00
parent 5aca13a65c
commit 17e556503d

View file

@ -2577,7 +2577,7 @@ is_char_dev(const char *path)
enum fposition {
ERROR,
NOFILE,
NO_FILE,
FIRST,
LAST,
};
@ -2633,7 +2633,7 @@ find_output_file(int argc, char *argv[], const char **output_file)
return ERROR;
}
#undef _m
return NOFILE;
return NO_FILE;
}
enum options {