1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00

Fix if_mounted & if_running variables for FreeBSD

This commit is contained in:
helmat 2020-01-06 06:41:55 +01:00 committed by Brenden Matthews
parent 7c55203fec
commit 6ad788b78d

View File

@ -1077,7 +1077,7 @@ struct text_object *construct_text_object(char *s, const char *arg, long line,
obj->data.s = STRNDUP_ARG;
obj->callbacks.iftest = &if_existing_iftest;
obj->callbacks.free = &gen_free_opaque;
#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD__)
END OBJ_IF_ARG(if_mounted, 0, "if_mounted needs an argument") obj->data.s =
STRNDUP_ARG;
obj->callbacks.iftest = &check_mount;