You have, as you wrote, $$f(m)=m \log (m)+(n-m) \log (n-m)$$ $$f'(m)=\log (m)-\log (n-m)$$ $$f''(m)=\frac{1}{n-m}+\frac{1}{m}$$ So, the serivative cancels when $$\log (m)=\log (n-m)\implies m=n-m\implies 2m=n\implies m=\frac n 2$$ Now, using the second derivative test $$f''\left(\frac n 2\right)=\frac{4}{n}>0$$ So, the point is the minimum and $$f\left(\frac n 2\right)=n \log \left(\frac{n}{2}\right)$$
You have, as you wrote, $$f(m)=m \log (m)+(n-m) \log (n-m)$$ $$f'(m)=\log (m)-\log (n-m)$$ $$f''(m)=\frac{1}{n-m}+\frac{1}{m}$$ So, the serivative cancels when $$\log (m)=\log (n-m)\implies m=n-m\implies 2m=n\implies m=\frac n 2$$ Now, using the second derivative test $$f''\left(\frac n 2\right)=\frac{4}{n}>0$$ So, the point is the minimum and $$f\left(\frac n 2\right)=n \log \left(\frac{n}{2}\right)$$