diff options
author | jmb <jmb@FreeBSD.org> | 1998-01-05 01:17:42 +0000 |
---|---|---|
committer | jmb <jmb@FreeBSD.org> | 1998-01-05 01:17:42 +0000 |
commit | 486344203a84fce7bb2007181b0bb740889b6282 (patch) | |
tree | 8b410a1c673c39307edf72ffe603032a164037af | |
parent | ef679c74cb1d0f9bcbb7e8c99421382f255bdbba (diff) | |
download | FreeBSD-src-486344203a84fce7bb2007181b0bb740889b6282.zip FreeBSD-src-486344203a84fce7bb2007181b0bb740889b6282.tar.gz |
sigh....forgot to update the DEBUG printf
to show both the path and the length args
to linux emulation truncate()
Submitted by: jmb
-rw-r--r-- | sys/compat/linux/linux_file.c | 6 | ||||
-rw-r--r-- | sys/i386/linux/linux_file.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 13e7520..f792a37 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.17 1997/12/16 18:49:23 eivind Exp $ + * $Id: linux_file.c,v 1.18 1998/01/05 01:05:15 jmb Exp $ */ #include "opt_compat.h" @@ -795,8 +795,8 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args) CHECKALTEXIST(p, &sg, args->path); #ifdef DEBUG - printf("Linux-emul(%d): truncate(%s)\n", - p->p_pid, args->path); + printf("Linux-emul(%d): truncate(%s, %ld)\n", + p->p_pid, args->path, args->length); #endif bsd.path = args->path; bsd.length = args->length; diff --git a/sys/i386/linux/linux_file.c b/sys/i386/linux/linux_file.c index 13e7520..f792a37 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.17 1997/12/16 18:49:23 eivind Exp $ + * $Id: linux_file.c,v 1.18 1998/01/05 01:05:15 jmb Exp $ */ #include "opt_compat.h" @@ -795,8 +795,8 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args) CHECKALTEXIST(p, &sg, args->path); #ifdef DEBUG - printf("Linux-emul(%d): truncate(%s)\n", - p->p_pid, args->path); + printf("Linux-emul(%d): truncate(%s, %ld)\n", + p->p_pid, args->path, args->length); #endif bsd.path = args->path; bsd.length = args->length; |