@@ -55,7 +55,8 @@ void usage(void)
printf(" -d, --daemon run as daemon, no TUI\n");
printf(" -g, --debug debug message in syslog\n");
printf(" -h, --help show this help message\n");
- printf(" -l, --log log data to /var/tmp/tmon.log\n");
+ printf(" -l, --log log data to %s/%s\n",
+ TMON_LOG_DIR, TMON_LOG_FILENAME);
printf(" -t, --time-interval sampling time interval, > 1 sec.\n");
printf(" -T, --target-temp initial target temperature\n");
printf(" -v, --version show version\n");
@@ -271,7 +272,8 @@ int main(int argc, char **argv)
target_temp_user = temp;
break;
case 'l':
- printf("Logging data to /var/tmp/tmon.log\n");
+ printf("Logging data to %s/%s\n",
+ TMON_LOG_DIR, TMON_LOG_FILENAME);
logging = 1;
break;
case 'h':
Signed-off-by: Thomas Renninger <trenn@suse.com> --- tools/thermal/tmon/tmon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)