It depends on how the FreeRTOS_printf is implemented in your application. Its advised not to call any FreeRTOS API’s while the scheduler is suspended - vTaskSuspendAll
If FreeRTOS_printf is implemented to have FreeRTOS API calls, for example, sending the print text to a FreeRTOS queue that could block while the scheduler is suspended, then it can lead to undefined behaviors.
And while I understand the problem with calling api functions while the scheduler is suspended, I do need to use them in order to make my printf thread safe. Therefore the FreeRTOS_printf call in prvAcceptWaitClient should be removed regardless since it is either never called (as in my new version of printf) or not thread safe which might not be a problem here but can’t be good practice in a OS.