diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2009-06-03 09:24:58 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2009-06-03 09:24:58 +0000 |
commit | bf64a6b6b449615d2aae7780aa47cc759026c0b4 (patch) | |
tree | ed86ca89d9d3c3f8dc63500abf7591c773ed9661 /tools/regression | |
parent | 2b2dc3a904c0d6397582625d757c98c3e100fdfc (diff) | |
download | src-bf64a6b6b449615d2aae7780aa47cc759026c0b4.tar.gz src-bf64a6b6b449615d2aae7780aa47cc759026c0b4.zip |
lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).
Strange, isn't it?
Pointed out by: bde
Notes
Notes:
svn path=/head/; revision=193373
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/fstest/fstest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/fstest/fstest.c b/tools/regression/fstest/fstest.c index 94a7a19064a4..798c70222c4f 100644 --- a/tools/regression/fstest/fstest.c +++ b/tools/regression/fstest/fstest.c @@ -499,7 +499,7 @@ call_syscall(struct syscall_desc *scall, char *argv[]) #endif #ifdef HAS_LCHFLAGS case ACTION_LCHFLAGS: - rval = lchflags(STR(0), (unsigned long)str2flags(chflags_flags, STR(1))); + rval = lchflags(STR(0), (int)str2flags(chflags_flags, STR(1))); break; #endif case ACTION_TRUNCATE: |