X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fmount_config.h;h=3023306e5446248b2e00047a222400903aaad58e;hp=2af9f9de532176639ff800b348eb3d76bf197289;hb=29e2293a69a75abf0ce1c85daff0b94c9875d56a;hpb=9082582d6675e45067838805a65b6fcc07164557 diff --git a/utils/mount/mount_config.h b/utils/mount/mount_config.h index 2af9f9d..3023306 100644 --- a/utils/mount/mount_config.h +++ b/utils/mount/mount_config.h @@ -16,14 +16,17 @@ * */ -inline void mount_config_init(void); +inline void mount_config_init(char *); #ifdef MOUNT_CONFIG #include "conffile.h" +#include "xlog.h" + extern char *conf_get_mntopts(char *, char *, char *); -inline void mount_config_init() +inline void mount_config_init(char *program) { + xlog_open(program); /* * Read the the default mount options */ @@ -36,7 +39,7 @@ inline char *mount_config_opts(char *spec, } #else /* MOUNT_CONFIG */ -inline void mount_config_init() { } +inline void mount_config_init(char *program) { } inline char *mount_config_opts(char *spec, char *mount_point, char *mount_opts)