From a0668dc681f77f065163aa0fa65e77ee1de4a8e7 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sun, 22 May 2011 17:10:32 +0000 Subject: [PATCH] E: Ibar: Fix ignored return value of fwrite. SVN revision: 59603 --- src/modules/ibar/e_mod_config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/ibar/e_mod_config.c b/src/modules/ibar/e_mod_config.c index 7ce0f5b24..8e4264a68 100644 --- a/src/modules/ibar/e_mod_config.c +++ b/src/modules/ibar/e_mod_config.c @@ -218,11 +218,13 @@ _cb_entry_ok(char *text, void *data) f = fopen(buf, "w"); if (f) { + int ret = 0; + /* Populate this .order file with some defaults */ snprintf(tmp, sizeof(tmp), "xterm.desktop\n" "sylpheed.desktop\n" "firefox.desktop\n" "openoffice.desktop\n" "xchat.desktop\n" "gimp.desktop\n" "xmms.desktop\n"); - fwrite(tmp, sizeof(char), strlen(tmp), f); + ret = fwrite(tmp, sizeof(char), strlen(tmp), f); fclose(f); } }