=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sftp.c,v retrieving revision 1.165 retrieving revision 1.166 diff -u -r1.165 -r1.166 --- src/usr.bin/ssh/sftp.c 2014/08/19 23:57:18 1.165 +++ src/usr.bin/ssh/sftp.c 2014/08/20 01:28:55 1.166 @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.165 2014/08/19 23:57:18 djm Exp $ */ +/* $OpenBSD: sftp.c,v 1.166 2014/08/20 01:28:55 deraadt Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -1498,7 +1498,7 @@ err = do_df(conn, path1, hflag, iflag); break; case I_LCHDIR: - tmp = tilde_expand_filename(path1, getuid()) + tmp = tilde_expand_filename(path1, getuid()); free(path1); path1 = tmp; if (chdir(path1) == -1) {