~ubuntu-branches/debian/jessie/ufsutils/jessie

« back to all changes in this revision

Viewing changes to sbin/fsck_ffs/ea.c

  • Committer: Package Import Robot
  • Author(s): Robert Millan
  • Date: 2013-11-29 14:21:12 UTC
  • mfrom: (11.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20131129142112-5tz5g7a4b6prb0dt
Tags: 9.2-2
* Avoid kfreebsd-kernel-headers versions prior to ino_t fix.
* Remove gratuitous dependency on libtermcap / libtinfo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
#include <sys/param.h>
40
40
#include <sys/time.h>
41
 
#include <stdint.h>
 
41
#include <sys/stdint.h>
42
42
 
43
43
#include <ufs/ufs/dinode.h>
44
44
#include <ufs/ufs/dir.h>
73
73
        else
74
74
                blksiz = sblock.fs_bsize;
75
75
        printf("blksiz = %ju\n", (intmax_t)blksiz);
76
 
        bp = getdatablk(dp->di_extb[0], blksiz);
 
76
        bp = getdatablk(dp->di_extb[0], blksiz, BT_EXTATTR);
77
77
        cp = (u_char *)bp->b_un.b_buf;
78
78
        for (n = 0; n < blksiz; n++) {
79
79
                printf("%02x", cp[n]);
83
83
        return (STOP);
84
84
#endif
85
85
}
86