=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/update.c,v retrieving revision 1.128 retrieving revision 1.129 diff -u -r1.128 -r1.129 --- src/usr.bin/cvs/update.c 2008/02/09 17:52:32 1.128 +++ src/usr.bin/cvs/update.c 2008/02/09 20:04:00 1.129 @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.128 2008/02/09 17:52:32 joris Exp $ */ +/* $OpenBSD: update.c,v 1.129 2008/02/09 20:04:00 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -473,9 +473,9 @@ cf->file_ent->ce_tag); entry = xmalloc(CVS_ENT_MAXLINELEN); - (void)xsnprintf(entry, CVS_ENT_MAXLINELEN, "/%s/%s/%s/%s/%s", - cf->file_name, revbuf, timebuf, cf->file_ent->ce_opts ? : "", - sticky); + cvs_ent_line_str(cf->file_name, revbuf, timebuf, + cf->file_ent->ce_opts ? : "", sticky, 0, 0, + entry, CVS_ENT_MAXLINELEN); entlist = cvs_ent_open(cf->file_wd); cvs_ent_add(entlist, entry);