ALT Linux Bugzilla
– Attachment 1087 Details for
Bug 7877
x86_64 fix
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
x86_64 fix
unionfs-1.0.13-alt-types.patch (text/plain), 873 bytes, created by
Kachalov Anton
on 2005-09-05 19:41:30 MSD
(
hide
)
Description:
x86_64 fix
Filename:
MIME Type:
Creator:
Kachalov Anton
Created:
2005-09-05 19:41:30 MSD
Size:
873 bytes
patch
obsolete
>--- unionfs-20050815-1100/unionimap.c.orig 2005-08-15 19:00:48 +0400 >+++ unionfs-20050815-1100/unionimap.c 2005-09-05 15:35:13 +0400 >@@ -14,6 +14,8 @@ > * $Id: unionimap.c,v 1.15 2005/08/09 17:57:56 cwright Exp $ > */ > >+#include <inttypes.h> /* for PRIu64 */ >+ > #include "unionimap.h" > > /** >@@ -243,7 +245,7 @@ > fprintf(stdout, "%-11s %-8s %-22s\n", "Unionfs", "FS Num", > "Lower-Level"); > while (read(file, (void *)&entry, sizeof(struct fmapent))) { >- fprintf(stdout, "%-11lu %-8d %-22llu\n", inode++, >+ fprintf(stdout, "%-11lu %-8d %-22" PRIu64 "\n", inode++, > entry.fsnum, entry.inode); > } > } >@@ -292,7 +294,7 @@ > while (read(file, (void *)&inode, sizeof(uint64_t))) { > unsigned long lowerlevel = 0; > if (inode) { >- fprintf(stdout, "%-11lu %-22llu\n", >+ fprintf(stdout, "%-11lu %-22" PRIu64 "\n", > lowerlevel++, inode); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7877
: 1087