Pg 79 of "Tensors, Relativity and Cosmology"
In order to construct the geodesic equations which define the curve with a stationary arc length, we may choose the arc length itself as the action integral with zero variation. Using $$s(t)=\int_{t_o} ^t\sqrt{g_{mn}\frac{dx^m}{dt}\frac{dx^n}{dt}}dt \tag{1}$$
we write $$I=\int_{S_A}^{S_B}\sqrt{g_{mn}\frac{dx^m}{ds}\frac{dx^n}{ds}}ds \tag{2}$$
where $I$ is the action integral and is equal to unity along the geodesic line C, where $$ds^2=g_{mn}dx^mdx^n \tag{3}$$
But isn't (2) just equal to 1 since $\frac{ds}{ds}=1$ and can this still be an action integral (functional) if the LHS of (2) is just a constant?
Or was it the author's intention to introduce to a scalar parameter such as $d\lambda$ but accidentally used ds instead?
(The author actually made tons of mistakes in the previous chapters, so I'm just making sure that this is not another error but I could be wrong...)