FreeBSD Bugzilla – Attachment 141085 Details for
Bug 187800
Fix build errors for older releases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 931 bytes, created by
Yaroslav
on 2014-03-20 22:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Yaroslav
Created:
2014-03-20 22:30:00 UTC
Size:
931 bytes
patch
obsolete
>Index: src/rndpassw.c >=================================================================== >--- src/rndpassw.c (revision 3) >+++ src/rndpassw.c (working copy) >@@ -24,7 +24,7 @@ > > int main(int argc, char **argv) > { >- flags_t flags = { 0 }; >+ flags_t flags = {0, 0, 0, 0}; > int passlen = -1, passcnt = -1; > int opt, mixlen = 0, entlen, fd; > unsigned i, y, baselen = 0; >@@ -133,7 +133,7 @@ > > entoff = entbuf = malloc(entlen); > if(entbuf == NULL) { >- fprintf(stderr, "Could not allocate %zd bytes\n", entlen); >+ fprintf(stderr, "Could not allocate %d bytes\n", entlen); > return (1); > } > >@@ -148,7 +148,7 @@ > /* create and fill dictionary */ > mixbuf = malloc(mixlen); > if(mixbuf == NULL) { >- fprintf(stderr, "Could not allocate %zd bytes of memory\n", mixlen); >+ fprintf(stderr, "Could not allocate %d bytes of memory\n", mixlen); > return (1); > }
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 187800
: 141085