summaryrefslogtreecommitdiff
path: root/libdaemon
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-12-13 19:55:33 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2012-12-15 14:57:40 +0100
commit1b05438fcbb27ba425c369c0b9d4e641ccc1b970 (patch)
treeed62844bbd38c2be8990e79e9cb6059dd36b8e6a /libdaemon
parent8b8065a870591e743a79e9aa7f738d084d88bcad (diff)
downloadlvm2-1b05438fcbb27ba425c369c0b9d4e641ccc1b970.tar.gz
cleanup: ignore errors
Since we are doing just dump and function doesn't report any error, explicitely ignore return values from dm_config_write_node and dm_asprintf. Same applies for the logging function.
Diffstat (limited to 'libdaemon')
-rw-r--r--libdaemon/server/daemon-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdaemon/server/daemon-log.c b/libdaemon/server/daemon-log.c
index 6f5f4dc45..c9e133c43 100644
--- a/libdaemon/server/daemon-log.c
+++ b/libdaemon/server/daemon-log.c
@@ -98,7 +98,7 @@ void daemon_log_cft(log_state *s, int type, const char *prefix, const struct dm_
if (!_type_interesting(s, type))
return;
- dm_config_write_node(n, &_log_line, &b);
+ (void) dm_config_write_node(n, &_log_line, &b);
}
void daemon_log_multi(log_state *s, int type, const char *prefix, const char *msg)