summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-01-10 23:15:35 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-01-10 23:15:35 +0000
commitdcda29feba0141159af10a0983bf1ba6115a5c94 (patch)
tree87bbd01580d2aa49b604e7ae352e628787f7f54a
parent69a90ca3df3417d728f38a833b68b1835ecb867b (diff)
Notes
-rw-r--r--sys/compat/linux/linux_file.c6
-rw-r--r--sys/i386/linux/linux_file.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index 6a80d4c5ec66..16f12ed4d7be 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_file.c,v 1.21 1998/07/29 16:43:00 bde Exp $
+ * $Id: linux_file.c,v 1.22 1998/10/05 16:37:36 jfieber Exp $
*/
#include "opt_compat.h"
@@ -812,7 +812,7 @@ linux_readlink(struct proc *p, struct linux_readlink_args *args)
int
linux_truncate(struct proc *p, struct linux_truncate_args *args)
{
- struct otruncate_args bsd;
+ struct truncate_args bsd;
caddr_t sg;
sg = stackgap_init();
@@ -825,6 +825,6 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args)
bsd.path = args->path;
bsd.length = args->length;
- return otruncate(p, &bsd);
+ return truncate(p, &bsd);
}
diff --git a/sys/i386/linux/linux_file.c b/sys/i386/linux/linux_file.c
index 6a80d4c5ec66..16f12ed4d7be 100644
--- a/sys/i386/linux/linux_file.c
+++ b/sys/i386/linux/linux_file.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_file.c,v 1.21 1998/07/29 16:43:00 bde Exp $
+ * $Id: linux_file.c,v 1.22 1998/10/05 16:37:36 jfieber Exp $
*/
#include "opt_compat.h"
@@ -812,7 +812,7 @@ linux_readlink(struct proc *p, struct linux_readlink_args *args)
int
linux_truncate(struct proc *p, struct linux_truncate_args *args)
{
- struct otruncate_args bsd;
+ struct truncate_args bsd;
caddr_t sg;
sg = stackgap_init();
@@ -825,6 +825,6 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args)
bsd.path = args->path;
bsd.length = args->length;
- return otruncate(p, &bsd);
+ return truncate(p, &bsd);
}