diff --git a/src/cl65/spawn-amiga.inc b/src/cl65/spawn-amiga.inc index ade63ef7e..41fa3895e 100644 --- a/src/cl65/spawn-amiga.inc +++ b/src/cl65/spawn-amiga.inc @@ -77,7 +77,7 @@ int spawnvp (int Mode attribute ((unused)), Status = system (SB_GetConstBuf (&Command)); /* Free the string buf data */ - DoneStrBuf (&Command); + SB_Done (&Command); /* Return the result */ return Status;