diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-07-08 04:51:31 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-07-08 04:51:31 +0000 |
commit | 22c5346d7534a0a1b0eb14da9148fa9fcc611b08 (patch) | |
tree | 6d75c5d927132c04fa79e08b09c3d4f2b2da6f8a | |
parent | 78d665c755f5e7de62a18c028cfb410e27cd209c (diff) |
fix pasto in last commit
-rw-r--r-- | usr.bin/diff/diffreg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c index 75b95c5b6a4..69c6dd9a511 100644 --- a/usr.bin/diff/diffreg.c +++ b/usr.bin/diff/diffreg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffreg.c,v 1.29 2003/07/08 04:45:32 millert Exp $ */ +/* $OpenBSD: diffreg.c,v 1.30 2003/07/08 04:51:30 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -65,7 +65,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.29 2003/07/08 04:45:32 millert Exp $"; +static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.30 2003/07/08 04:51:30 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -311,7 +311,7 @@ diffreg(char *ofile1, char *ofile2, int flags) status |= 2; goto closem; } - } else if (!S_ISREG(stb1.st_mode)) { + } else if (!S_ISREG(stb2.st_mode)) { file2 = copytemp(file2, 2); if (file2 == NULL || stat(file2, &stb2) < 0) { warn("%s", file2); |