diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-13 15:59:14 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-13 15:59:14 +0000 |
commit | 203c4704885ccd4c93ee84e3fe549be1d4bf2aa8 (patch) | |
tree | f35167b7beb6c1e8945d88c9485242254057bbd5 /sbin/fsck | |
parent | de1672f77f29f1728f2dbd358c29a02e680c9228 (diff) |
Use = for assignment, not ==
ok millert@
Diffstat (limited to 'sbin/fsck')
-rw-r--r-- | sbin/fsck/fsck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c index cf7e9889ed7..3d2f3d3719c 100644 --- a/sbin/fsck/fsck.c +++ b/sbin/fsck/fsck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsck.c,v 1.16 2003/09/25 04:16:41 deraadt Exp $ */ +/* $OpenBSD: fsck.c,v 1.17 2004/01/13 15:59:13 otto Exp $ */ /* $NetBSD: fsck.c,v 1.7 1996/10/03 20:06:30 christos Exp $ */ /* @@ -35,7 +35,7 @@ * */ -static const char rcsid[] = "$OpenBSD: fsck.c,v 1.16 2003/09/25 04:16:41 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: fsck.c,v 1.17 2004/01/13 15:59:13 otto Exp $"; #include <sys/param.h> #include <sys/mount.h> @@ -436,7 +436,7 @@ mangle(char *opts, int *argcp, const char ***argvp, int *maxargcp) int newmaxargc = maxargc + 50; argv = erealloc(argv, newmaxargc * sizeof(char *)); - maxargc == newmaxargc; + maxargc = newmaxargc; } if (*p != '\0') { if (*p == '-') { |