From b08ad6e245ed9a22085b39e68d49934fd60378f6 Mon Sep 17 00:00:00 2001 From: schulz Date: Thu, 2 Jul 2015 20:32:13 +0000 Subject: [PATCH] Fix for compile with enabled debug support. return value of function is not in variable anymore at this place of code. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50902 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/filesys/fat/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rom/filesys/fat/main.c b/rom/filesys/fat/main.c index fa5510a5e3..a2929e4e45 100644 --- a/rom/filesys/fat/main.c +++ b/rom/filesys/fat/main.c @@ -126,7 +126,7 @@ LONG handler(struct ExecBase *SysBase) { glob = fat_init(proc, dp, SysBase); if (!glob) { - D(bug("%s: %b - error %d\n", __func__, dp->dp_Arg1, retval)); + D(bug("%s: %b - error %d\n", __func__, dp->dp_Arg1, RETURN_FAIL)); dp->dp_Res1 = DOSFALSE; dp->dp_Res2 = ERROR_NO_FREE_STORE; ReplyPacket(dp, SysBase); -- 2.11.4.GIT