Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: fusl/src/unistd/lchown.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/unistd/lchown.c
diff --git a/fusl/src/unistd/lchown.c b/fusl/src/unistd/lchown.c
index ccd5ee0255eea2af0dcec6f134e21ce07a896faf..43d0a75f5a733b6e0d2c0167eb0b72b7ce555a6f 100644
--- a/fusl/src/unistd/lchown.c
+++ b/fusl/src/unistd/lchown.c
@@ -2,11 +2,10 @@
#include <fcntl.h>
#include "syscall.h"
-int lchown(const char *path, uid_t uid, gid_t gid)
-{
+int lchown(const char* path, uid_t uid, gid_t gid) {
#ifdef SYS_lchown
- return syscall(SYS_lchown, path, uid, gid);
+ return syscall(SYS_lchown, path, uid, gid);
#else
- return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW);
+ return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698