4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / lib / libc / sys / truncate.c
index b4038ca..0f6d24b 100644 (file)
@@ -1,12 +1,12 @@
 /*
 /*
- * Copyright (c) 1992 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1992, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * %sccs.include.redist.c%
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  *
  * %sccs.include.redist.c%
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)truncate.c 5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)truncate.c 8.1 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -22,5 +22,5 @@ truncate(path, length)
        off_t   length;
 {
 
        off_t   length;
 {
 
-       return(__indir((quad_t)SYS_truncate, path, 0, length));
+       return(__syscall((quad_t)SYS_truncate, path, 0, length));
 }
 }