diff: Fix build

rc must be defined first.

Fixes:		590126789c
MFC after:	1 week
X-MFC with:	590126789c
This commit is contained in:
Cy Schubert
2026-02-05 07:18:09 -08:00
parent d15d6bf83d
commit ee44ab936e
+2
View File
@@ -235,6 +235,8 @@ static void
diffit(struct dirent *dp, char *path1, size_t plen1, struct dirent *dp2,
char *path2, size_t plen2, int flags)
{
int rc;
flags |= D_HEADER;
strlcpy(path1 + plen1, dp->d_name, PATH_MAX - plen1);