Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Apr 2016 14:40:54 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297525 - head/sys/compat/linux
Message-ID:  <201604031440.u33EesB7057019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Sun Apr  3 14:40:54 2016
New Revision: 297525
URL: https://svnweb.freebsd.org/changeset/base/297525

Log:
  Fix indentation oops.

Modified:
  head/sys/compat/linux/linux_misc.c

Modified: head/sys/compat/linux/linux_misc.c
==============================================================================
--- head/sys/compat/linux/linux_misc.c	Sun Apr  3 14:38:26 2016	(r297524)
+++ head/sys/compat/linux/linux_misc.c	Sun Apr  3 14:40:54 2016	(r297525)
@@ -896,12 +896,12 @@ linux_utimensat(struct thread *td, struc
 		}
 		timesp = times;
 
-		if (times[0].tv_nsec == UTIME_OMIT &&
-		    times[1].tv_nsec == UTIME_OMIT)
 		/* This breaks POSIX, but is what the Linux kernel does
 		 * _on purpose_ (documented in the man page for utimensat(2)),
 		 * so we must follow that behaviour. */
-		return (0);
+		if (times[0].tv_nsec == UTIME_OMIT &&
+		    times[1].tv_nsec == UTIME_OMIT)
+			return (0);
 	}
 
 	if (args->pathname != NULL)



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