diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-04 15:05:06 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-04 15:05:06 +0000 |
commit | c844dc7733494e05a81d6d15b5d1aa90137f2f8f (patch) | |
tree | c83d20d7affe64223eb7de087169e19efb75e204 /usr.bin/cvs/rcs.c | |
parent | d7027b3d07b45c6e77a9e73a82fa3eedca092bd4 (diff) |
Use the right HEADNAME. Sometimes compiler warnings should not be
ignored. ok xsa@ joris@
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 604771ed404..1713ce9506a 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.207 2007/02/01 20:36:21 otto Exp $ */ +/* $OpenBSD: rcs.c,v 1.208 2007/02/04 15:05:05 otto Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -1175,7 +1175,7 @@ rcs_rev_add(RCSFILE *rf, RCSNUM *rev, const char *msg, time_t date, rcsnum_cpy(rdp->rd_num, brp->rb_num, 0); TAILQ_INSERT_TAIL(&(rdp->rd_branches), brp, rb_list); - ordp = TAILQ_PREV(rdp, cvs_tqh, rd_list); + ordp = TAILQ_PREV(rdp, rcs_dlist, rd_list); rcsnum_cpy(rdp->rd_num, ordp->rd_next, 0); } else { ordp = TAILQ_NEXT(rdp, rd_list); |