]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: Fix the indention
authorOsier Yang <jyang@redhat.com>
Thu, 21 Jun 2012 06:58:03 +0000 (14:58 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 21 Jun 2012 06:59:55 +0000 (14:59 +0800)
src/util/util.c: virFileOpenAs.

src/util/util.c

index 28a4fe7fde18ea9de5ce02deee584e168cf339fe..ce98d206d64a94123ca2d53df2d9eab3edd51b7e 100644 (file)
@@ -995,14 +995,14 @@ virFileOpenAs(const char *path, int openflags, mode_t mode,
 
     /* allow using -1 to mean "current value" */
     if (uid == (uid_t) -1)
-       uid = getuid();
+        uid = getuid();
     if (gid == (gid_t) -1)
-       gid = getgid();
+        gid = getgid();
 
     /* treat absence of both flags as presence of both for simpler
      * calling. */
     if (!(flags & (VIR_FILE_OPEN_NOFORK|VIR_FILE_OPEN_FORK)))
-       flags |= VIR_FILE_OPEN_NOFORK|VIR_FILE_OPEN_FORK;
+        flags |= VIR_FILE_OPEN_NOFORK|VIR_FILE_OPEN_FORK;
 
     if ((flags & VIR_FILE_OPEN_NOFORK)
         || (getuid() != 0)