On Jan 6, 2011, at 3:03 AM, tangchen wrote:

> Signed-off-by: Tang Chen <[email protected]>
> ---
>  testcases/kernel/syscalls/msync/msync04.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/kernel/syscalls/msync/msync04.c 
> b/testcases/kernel/syscalls/msync/msync04.c
> index 3e4b9a4..4e5dccb 100644
> --- a/testcases/kernel/syscalls/msync/msync04.c
> +++ b/testcases/kernel/syscalls/msync/msync04.c
> @@ -93,7 +93,7 @@ int main(int ac, char **av)
>      char *msg;        /* message returned from parse_opts */
> 
>      /* Parse standard options given to run the test. */
> -    if ((msg = parse_opts(ac, av, NULL, NULL)) NULL)
> +    if ((msg = parse_opts(ac, av, NULL, NULL)) != NULL)
>          tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg);

        Patch is good despite the fact that the description is misleading.
        I checked in a different fix though.
Thanks,
-Garrett


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to