mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 06:07:31 -04:00
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:
parent
1c4faf8bb9
commit
080ea93df2
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue