fsck.cramfs: fix macro usage

Autotoolz does not define HAVE_LCHOWN when the condition is false,
so it is appropriate to use #ifdef/#ifndef as everywhere else.

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-02-25 13:29:08 +01:00 committed by Karel Zak
parent ac660b80fd
commit d52786aab7
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ static int uncompress_block(void *src, size_t len)
return stream.total_out;
}
#if !HAVE_LCHOWN
#ifndef HAVE_LCHOWN
#define lchown chown
#endif