  Let $R$ be a finite principal ideal ring and $S$ the Galois extension of $R$
of degree $m$. For $k$ and $k_0$, positive integers we determine the number of
free $S$-linear codes $B$ of length $l$ with the property $k = rank_S(B)$ and
$k_0 = rank_R (B\cap R^l)$. This corrects a wrong result which was given in the
case of finite fields.
