diff options
author | 2005-12-22 13:19:12 +0000 | |
---|---|---|
committer | 2005-12-22 13:19:12 +0000 | |
commit | 2ec4e3fd4ea6e229f8d545a34619f58cb66acd69 (patch) | |
tree | 1cecf431a70cdc2b7611b184db79a56965917e87 | |
parent | expand the description of -w somewhat; (diff) | |
download | wireguard-openbsd-2ec4e3fd4ea6e229f8d545a34619f58cb66acd69.tar.xz wireguard-openbsd-2ec4e3fd4ea6e229f8d545a34619f58cb66acd69.zip |
unitialized variable. ok xsa@
-rw-r--r-- | usr.bin/cvs/logmsg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c index 570ca80c886..c4fdd880d9c 100644 --- a/usr.bin/cvs/logmsg.c +++ b/usr.bin/cvs/logmsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logmsg.c,v 1.24 2005/12/21 20:04:36 xsa Exp $ */ +/* $OpenBSD: logmsg.c,v 1.25 2005/12/22 13:19:12 moritz Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -168,6 +168,7 @@ cvs_logmsg_get(const char *dir, struct cvs_flist *added, argv[argc++] = cvs_editor; argv[argc++] = path; argv[argc] = NULL; + tlen = 0; if ((fd = mkstemp(path)) == -1) fatal("cvs_logmsg_get: mkstemp: `%s': %s", |