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:
parent
7c55203fec
commit
6ad788b78d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user