Revision: 14506
Author: adrian.chadd
Date: Sun Mar 28 04:16:55 2010
Log: Spit out the file name during output


http://code.google.com/p/lusca-cache/source/detail?r=14506

Modified:
 /branches/LUSCA_HEAD/tools/ufs_obj_cat.c

=======================================
--- /branches/LUSCA_HEAD/tools/ufs_obj_cat.c    Sun Mar 28 00:37:53 2010
+++ /branches/LUSCA_HEAD/tools/ufs_obj_cat.c    Sun Mar 28 04:16:55 2010
@@ -72,17 +72,17 @@

        /* is tl null? no metadata */
        if (tl == NULL) {
-               printf("ERROR: no valid metadata found\n");
+               printf("%s: ERROR: no valid metadata found\n", path);
                exit(1);
        }

        /* meta data size needs to be <= buffer size */
        if (r > META_BUFSIZ) {
-               printf("ERROR: metadata size bigger than buffer?!\n");
+               printf("%s: ERROR: metadata size bigger than buffer?!\n", path);
                exit(1);
        }

-       printf("metadata header size: %d\n", r);
+       printf("%s: metadata header size: %d\n", path, r);

        for (t = tl ; t; t = t->next) {
                        switch (t->type) {

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to