sigh....forgot to update the DEBUG printf

to show both the path and the length args
	to linux emulation truncate()

Submitted by:		jmb
This commit is contained in:
Jonathan M. Bresler 1998-01-05 01:17:42 +00:00
parent 1c4faf8bb9
commit 080ea93df2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32266
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;