From: deraadt Date: Mon, 19 Jan 2015 00:32:54 +0000 (+0000) Subject: djm, your /usr/include tree is old X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d722cfd707c022f94d4979e60c472f938cf5c1d5;p=openbsd djm, your /usr/include tree is old --- diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index 11ab355f150..66d786229ec 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.257 2015/01/18 21:51:19 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.258 2015/01/19 00:32:54 deraadt Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1994 Tatu Ylonen , Espoo, Finland @@ -1114,7 +1114,7 @@ known_hosts_find_delete(struct hostkey_foreach_line *l, void *_ctx) static void do_known_hosts(struct passwd *pw, const char *name) { - char *cp, tmp[MAXPATHLEN], old[MAXPATHLEN]; + char *cp, tmp[PATH_MAX], old[PATH_MAX]; int r, fd, oerrno, inplace = 0; struct known_hosts_ctx ctx;