~wb-munzinger/+junk/ocfs2-tools

« back to all changes in this revision

Viewing changes to extras/find_inode_paths.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2009-07-06 07:26:30 UTC
  • mfrom: (1.1.7 upstream) (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090706072630-59335sl51k3rvu74
Tags: 1.4.2-1
* New upstream release (Closes: #535471).
* Drop patch for limits.h, included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include <getopt.h>
37
37
#include <inttypes.h>
38
38
 
39
 
#include "ocfs2.h"
 
39
#include "ocfs2/ocfs2.h"
40
40
 
41
41
static void print_usage(void)
42
42
{
91
91
        oldval = 0;
92
92
 
93
93
        if (!wp->quiet)
94
 
                fprintf(stdout, "[trace] %13"PRIu64" %s\n", dentry->inode, 
95
 
                                path);
 
94
                fprintf(stdout, "[trace] %13"PRIu64" %s\n",
 
95
                        (uint64_t)dentry->inode, path);
96
96
 
97
97
        if (dentry->inode == wp->inode)
98
 
                fprintf(stdout, "[found] %13"PRIu64" %s\n", dentry->inode, 
99
 
                                path);
 
98
                fprintf(stdout, "[found] %13"PRIu64" %s\n",
 
99
                        (uint64_t)dentry->inode, path);
100
100
 
101
101
        if (dentry->file_type == OCFS2_FT_DIR) {
102
102
                old_path = wp->path;