diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-04 19:04:15 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-04 19:04:15 +0100 |
commit | c451fdd1986fd36bd075e9a67387a13be8f505a0 (patch) | |
tree | cf8e3ceacd8af22167299e30898fc146fd114e50 /src/modules/sdlog2/sdlog2.c | |
parent | 615825a632e617e3e9bb7545b1716ce2fc3ec304 (diff) | |
download | px4-firmware-c451fdd1986fd36bd075e9a67387a13be8f505a0.tar.gz px4-firmware-c451fdd1986fd36bd075e9a67387a13be8f505a0.tar.bz2 px4-firmware-c451fdd1986fd36bd075e9a67387a13be8f505a0.zip |
sdlog2: Output cleanup
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 963149779..9dd80a18e 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -502,10 +502,8 @@ int open_perf_file(const char* str) int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC); if (fd < 0) { - mavlink_and_console_log_critical(mavlink_fd, "[sdlog2] failed opening log: %s", log_file_name); + mavlink_and_console_log_critical(mavlink_fd, "[sdlog2] failed opening: %s", log_file_name); - } else { - mavlink_and_console_log_info(mavlink_fd, "[sdlog2] log file: %s", log_file_name); } return fd; |