Skip to content

Commit

Permalink
Fix warning on Linux with GDB
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Apr 14, 2014
1 parent ab52be3 commit f24680d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/debug.c
Expand Up @@ -329,7 +329,7 @@ static int fr_fault_check_permissions(void)
* quotes.
*/
if ((q = strchr(panic_action, ' '))) {
asprintf(&filename, "%.*s", (int)(q - panic_action), panic_action);
(void) asprintf(&filename, "%.*s", (int)(q - panic_action), panic_action);
p = filename;
} else {
p = panic_action;
Expand Down

0 comments on commit f24680d

Please sign in to comment.