In this work, we consider the pressure of Coulomb systems, in which particles interact via a volume-dependent potential (in particular, the Ewald potential and its angular-averaged version [J. Phys. A: Math. Theor. 55, 385202 (2022)]). We confirm that the expression for the virial pressure should be corrected in this case. We show that the corrected virial pressure coincides with the formula obtained by differentiation of free energy if the potential energy is a homogeneous function of particle coordinates and a cell length. As a consequence, we find out that the expression for the pressure in the recent paper by J. Liang et al. [J. Chem. Phys. 157, 144102 (2022)] is incorrect.