summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-07-09 23:52:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-07-09 23:52:03 +0000
commitc54c3ede23d618b62ce9da2e8bd64e8fcdd4b8e9 (patch)
tree84125ea516fb07e9ed3de64ae5419146b0d9e619 /sys/compat/freebsd
parentd8175701c7a9904a03dd89eef6cfcb40409c83eb (diff)
Rename ostat -> stat43 to disambiguate from upcoming struct stat changes.
Idea from NetBSD, OK deraadt@
Diffstat (limited to 'sys/compat/freebsd')
-rw-r--r--sys/compat/freebsd/freebsd_file.c6
-rw-r--r--sys/compat/freebsd/syscalls.master10
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/compat/freebsd/freebsd_file.c b/sys/compat/freebsd/freebsd_file.c
index b4388177509..56baf4b0b11 100644
--- a/sys/compat/freebsd/freebsd_file.c
+++ b/sys/compat/freebsd/freebsd_file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freebsd_file.c,v 1.17 2003/08/15 20:32:15 tedu Exp $ */
+/* $OpenBSD: freebsd_file.c,v 1.18 2004/07/09 23:52:02 millert Exp $ */
/* $NetBSD: freebsd_file.c,v 1.3 1996/05/03 17:03:09 christos Exp $ */
/*
@@ -339,7 +339,7 @@ compat_43_freebsd_sys_stat(p, v, retval)
{
struct compat_43_freebsd_sys_stat_args /* {
syscallarg(char *) path;
- syscallarg(struct ostat *) ub;
+ syscallarg(struct stat43 *) ub;
} */ *uap = v;
caddr_t sg = stackgap_init(p->p_emul);
@@ -355,7 +355,7 @@ compat_43_freebsd_sys_lstat(p, v, retval)
{
struct compat_43_freebsd_sys_lstat_args /* {
syscallarg(char *) path;
- syscallarg(struct ostat *) ub;
+ syscallarg(struct stat43 *) ub;
} */ *uap = v;
caddr_t sg = stackgap_init(p->p_emul);
diff --git a/sys/compat/freebsd/syscalls.master b/sys/compat/freebsd/syscalls.master
index 62ce51d010c..326483d1974 100644
--- a/sys/compat/freebsd/syscalls.master
+++ b/sys/compat/freebsd/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.24 2004/05/28 18:28:14 tedu Exp $
+ $OpenBSD: syscalls.master,v 1.25 2004/07/09 23:52:02 millert Exp $
; $NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -104,10 +104,10 @@
36 NOARGS { int sys_sync(void); }
37 NOARGS { int sys_kill(int pid, int signum); }
38 STD { int compat_43_freebsd_sys_stat(char *path, \
- struct ostat *ub); } ostat
+ struct stat43 *ub); } stat43
39 NOARGS { pid_t sys_getppid(void); }
40 STD { int compat_43_freebsd_sys_lstat(char *path, \
- struct ostat *ub); } olstat
+ struct stat43 *ub); } lstat43
41 NOARGS { int sys_dup(u_int fd); }
42 NOARGS { int sys_opipe(void); }
43 NOARGS { gid_t sys_getegid(void); }
@@ -144,8 +144,8 @@
char **envp); }
60 NOARGS { int sys_umask(int newmask); }
61 STD { int freebsd_sys_chroot(char *path); }
-62 NOARGS { int compat_43_sys_fstat(int fd, struct ostat *sb); } \
- ofstat
+62 NOARGS { int compat_43_sys_fstat(int fd, struct stat43 *sb); } \
+ fstat43
63 NOARGS { int compat_43_sys_getkerninfo(int op, char *where, \
int *size, int arg); } ogetkerninfo
64 NOARGS { int compat_43_sys_getpagesize(void); } ogetpagesize