summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-02-16 00:51:45 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-02-16 00:51:45 +0000
commit010a254f06000b8decbb84ab7fa34242af37ef78 (patch)
treed8412b2ced66ad1ed6030d7227dd9ec8573fc441
parent5fd5b1c647d149250a38c9b02b7cd73fbedd84c8 (diff)
typo
-rw-r--r--usr.bin/ssh/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index eddd7caf25d..7a127583e87 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -33,7 +33,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.127 2002/02/15 23:11:26 markus Exp $");
+RCSID("$OpenBSD: session.c,v 1.128 2002/02/16 00:51:44 markus Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1124,7 +1124,7 @@ do_child(Session *s, const char *command)
argv0[0] = '-';
if (strlcpy(argv0 + 1, shell0, sizeof(argv0) - 1)
- <= sizeof(argv0) - 1) {
+ >= sizeof(argv0) - 1) {
errno = EINVAL;
perror(shell);
exit(1);