summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-06-22 19:30:04 +0000
committerRoland McGrath <roland@redhat.com>1996-06-22 19:30:04 +0000
commitdac23b2d0b9a089a2ddb874f8c2f78e9fb9cef6f (patch)
tree9bec66c1c02833b98ac64658dd75b7fbcfbc8060
parent783e6680b2b953a39ba2a94fb746439cbf5dc368 (diff)
downloadgunmake-dac23b2d0b9a089a2ddb874f8c2f78e9fb9cef6f.tar.gz
Wed May 15 17:37:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* dir.c (print_dir_data_base): Use %ld dev and ino and cast them to long.
-rw-r--r--dir.c5
1 files changed, 3 insertions, 2 deletions
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