diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-31 23:10:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-31 23:10:31 +1100 |
commit | 2b5a0de9034a0f5943be129039dc56caee23fd94 (patch) | |
tree | 6069aac6a3b40bc032627bbd5cad831e109a9cc2 /sftp.c | |
parent | 5a73c1a34d7ed75295da703c835464746474d297 (diff) |
- djm@cvs.openbsd.org 2006/03/27 23:15:46
[sftp.c]
always use a format string for addargs; spotted by mouring@
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.79 2006/03/25 13:17:02 djm Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.80 2006/03/27 23:15:46 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -1468,7 +1468,7 @@ main(int argc, char **argv) | |||
1468 | __progname = ssh_get_progname(argv[0]); | 1468 | __progname = ssh_get_progname(argv[0]); |
1469 | memset(&args, '\0', sizeof(args)); | 1469 | memset(&args, '\0', sizeof(args)); |
1470 | args.list = NULL; | 1470 | args.list = NULL; |
1471 | addargs(&args, ssh_program); | 1471 | addargs(&args, "%s", ssh_program); |
1472 | addargs(&args, "-oForwardX11 no"); | 1472 | addargs(&args, "-oForwardX11 no"); |
1473 | addargs(&args, "-oForwardAgent no"); | 1473 | addargs(&args, "-oForwardAgent no"); |
1474 | addargs(&args, "-oPermitLocalCommand no"); | 1474 | addargs(&args, "-oPermitLocalCommand no"); |