openbsd-ports/misc/hfsplus/patches/patch-src_hpls_c

22 lines
849 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_hpls_c,v 1.1.1.1 2002/03/30 20:46:26 drahn Exp $
--- src/hpls.c.orig Tue Oct 10 06:14:05 2000
+++ src/hpls.c Mon Mar 25 21:44:04 2002
@@ -412,7 +412,7 @@ void showmisc(record *ent, int flags)
{
size = ent->record.u.file.data_fork.total_size +
ent->record.u.file.res_fork.total_size;
- printf("%4Lu ", size / 1024 + (size % 1024 != 0));
+ printf("%4llu ", size / 1024 + (size % 1024 != 0));
}
}
@@ -471,7 +471,7 @@ void show_long(int sz, queueent *ents, c
else
{
hfsp_cat_file* f = &ent->record.u.file;
- printf("%c%c %4.4s/%4.4s %9Lu %9Lu %s %s\n",
+ printf("%c%c %4.4s/%4.4s %9llu %9llu %s %s\n",
f->flags & HFSP_FILE_LOCKED ? 'F' : 'f',
f->user_info.fdFlags & HFS_FNDR_ISINVISIBLE ? 'i' : ' ',
(char*) &f->user_info.fdType, (char*) &f->user_info.fdCreator,