-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright (c) 2011, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
int main(int argc, char *argv[])
{
- char *prog;
int rc = 0;
int i;
- prog = basename(argv[0]);
-
for (i = 1; i < argc; i++) {
char buf[1024]; /* allow xattr that may be larger */
struct filter_fid *ff = (void *)buf;
fprintf(stderr, "%s: warning: fid larger than expected "
"(%d bytes), recompile?\n", argv[i], size);
- printf("%s: objid=%llu seq=%llu parent="DFID"\n",
+ printf("%s: objid="LPU64" seq="LPU64" parent="DFID"\n",
argv[i], le64_to_cpu(ff->ff_objid),
le64_to_cpu(ff->ff_seq),
le64_to_cpu(ff->ff_parent.f_seq),