Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2009 09:24:58 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193373 - head/tools/regression/fstest
Message-ID:  <200906030924.n539Owgw044636@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Wed Jun  3 09:24:58 2009
New Revision: 193373
URL: http://svn.freebsd.org/changeset/base/193373

Log:
  lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).
  Strange, isn't it?
  
  Pointed out by:	bde

Modified:
  head/tools/regression/fstest/fstest.c

Modified: head/tools/regression/fstest/fstest.c
==============================================================================
--- head/tools/regression/fstest/fstest.c	Wed Jun  3 09:23:31 2009	(r193372)
+++ head/tools/regression/fstest/fstest.c	Wed Jun  3 09:24:58 2009	(r193373)
@@ -499,7 +499,7 @@ call_syscall(struct syscall_desc *scall,
 #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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906030924.n539Owgw044636>