diff options
-rw-r--r-- | openbsd-compat/setproctitle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c index 2b15c6e00..dbd1a95a0 100644 --- a/openbsd-compat/setproctitle.c +++ b/openbsd-compat/setproctitle.c | |||
@@ -125,7 +125,7 @@ setproctitle(const char *fmt, ...) | |||
125 | #if SPT_TYPE != SPT_NONE | 125 | #if SPT_TYPE != SPT_NONE |
126 | va_list ap; | 126 | va_list ap; |
127 | char buf[1024], ptitle[1024]; | 127 | char buf[1024], ptitle[1024]; |
128 | size_t len; | 128 | size_t len = 0; |
129 | int r; | 129 | int r; |
130 | extern char *__progname; | 130 | extern char *__progname; |
131 | #if SPT_TYPE == SPT_PSTAT | 131 | #if SPT_TYPE == SPT_PSTAT |