# aka, flying blind in a shitstorm, but it shouldn't hurt anything
This commit is contained in:
Sterling Hughes 2001-05-30 19:43:27 +00:00
parent 948edd322b
commit 506ceb28fc

View File

@ -288,7 +288,7 @@ PS_WRITE_FUNC(files)
* the existing data set.
*/
if ((int) vallen < data->st_size)
if (vallen < (int) data->st_size)
ftruncate(data->fd, 0);
#ifdef HAVE_PWRITE