From 3e23c54b8adb80ceb732d48de79b9f8cfb7a2be2 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 22 Jun 2015 10:19:13 -0400 Subject: [PATCH] Fix Coverity CID1298052 Signed-off-by: Chris Michael --- src/bin/e_fm/e_fm_main_udisks2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_fm/e_fm_main_udisks2.c b/src/bin/e_fm/e_fm_main_udisks2.c index 5441fe968..7078d0f9f 100644 --- a/src/bin/e_fm/e_fm_main_udisks2.c +++ b/src/bin/e_fm/e_fm_main_udisks2.c @@ -588,8 +588,11 @@ _e_fm_main_udisks2_cb_storage_prop_modified(void *data, const Eldbus_Message *ms if (type[0] == 's') { char *txt; + if (eldbus_message_arguments_get(msg, type, &txt)) - ERR("%s", txt); + { + ERR("%s", txt); + } } } if (!eldbus_message_arguments_get(msg, "a{sv}", &arr))