summaryrefslogtreecommitdiff
path: root/Libraries/LibC/fcntl.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-06 11:12:29 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-06 11:15:49 +0100
commitd6b06fd5a31ef6489895690f5fc4e0df113ea01e (patch)
treec61cd54f820828aec8b95d7ddd6d7208a6863dad /Libraries/LibC/fcntl.h
parentcf7df95ffec420fa4ce27a947f615fbbfad2b5a6 (diff)
downloadserenity-d6b06fd5a31ef6489895690f5fc4e0df113ea01e.zip
Kernel: Make watch_file() syscall take path length as a size_t
We don't care to handle negative path lengths anyway.
Diffstat (limited to 'Libraries/LibC/fcntl.h')
-rw-r--r--Libraries/LibC/fcntl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibC/fcntl.h b/Libraries/LibC/fcntl.h
index f80c98b3cd..9ca005a430 100644
--- a/Libraries/LibC/fcntl.h
+++ b/Libraries/LibC/fcntl.h
@@ -64,7 +64,7 @@ int openat(int dirfd, const char* path, int options, ...);
int openat_with_path_length(int dirfd, const char* path, size_t path_length, int options, mode_t);
int fcntl(int fd, int cmd, ...);
-int watch_file(const char* path, int path_length);
+int watch_file(const char* path, size_t path_length);
#define F_RDLCK 0
#define F_WRLCK 1