From dac23b2d0b9a089a2ddb874f8c2f78e9fb9cef6f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Jun 1996 19:30:04 +0000 Subject: Wed May 15 17:37:26 1996 Roland McGrath * dir.c (print_dir_data_base): Use %ld dev and ino and cast them to long. --- dir.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index d997762..11343dd 100644 --- a/dir.c +++ b/dir.c @@ -785,8 +785,9 @@ print_dir_data_base () dir->contents->ino[0], dir->contents->ino[1], dir->contents->ino[2]); #else - printf ("# %s (device %d, inode %d): could not be opened.\n", - dir->name, dir->contents->dev, dir->contents->ino); + printf ("# %s (device %ld, inode %ld): could not be opened.\n", + dir->name, (long int) dir->contents->dev, + (long int) dir->contents->ino); #endif #endif /* WIN32 */ else -- cgit v1.2.3