Date: Thu, 8 Mar 2012 10:40:14 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r232690 - stable/9/tools/regression/security/cap_test Message-ID: <201203081040.q28AeE2J041609@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Thu Mar 8 10:40:14 2012 New Revision: 232690 URL: http://svn.freebsd.org/changeset/base/232690 Log: MFC: r232312 Fix order of arguments to lseek(). Modified: stable/9/tools/regression/security/cap_test/cap_test_capmode.c Directory Properties: stable/9/tools/regression/security/cap_test/ (props changed) Modified: stable/9/tools/regression/security/cap_test/cap_test_capmode.c ============================================================================== --- stable/9/tools/regression/security/cap_test/cap_test_capmode.c Thu Mar 8 09:58:17 2012 (r232689) +++ stable/9/tools/regression/security/cap_test/cap_test_capmode.c Thu Mar 8 10:40:14 2012 (r232690) @@ -117,7 +117,7 @@ test_capmode(void) CHECK_SYSCALL_SUCCEEDS(close, fd_close); CHECK_SYSCALL_SUCCEEDS(dup, fd_file); CHECK_SYSCALL_SUCCEEDS(fstat, fd_file, &sb); - CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, SEEK_SET, 0); + CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, 0, SEEK_SET); CHECK_SYSCALL_SUCCEEDS(msync, &fd_file, 8192, MS_ASYNC); CHECK_SYSCALL_SUCCEEDS(profil, NULL, 0, 0, 0); CHECK_SYSCALL_SUCCEEDS(read, fd_file, &ch, sizeof(ch));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203081040.q28AeE2J041609>