direct-io.hg

changeset 15159:4c2124aac598

VTPM: Fix bug where enabling vtpm causes installation error
Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
author kfraser@localhost.localdomain
date Thu May 24 15:29:11 2007 +0100 (2007-05-24)
parents 588bd40872ec
children 21f1a7a7ea30
files tools/vtpm/vtpm.patch
line diff
     1.1 --- a/tools/vtpm/vtpm.patch	Thu May 24 15:25:35 2007 +0100
     1.2 +++ b/tools/vtpm/vtpm.patch	Thu May 24 15:29:11 2007 +0100
     1.3 @@ -579,7 +579,7 @@ diff -uprN tpm_emulator/tpmd.c vtpm/tpmd
     1.4  +        memset(&client_addr, 0, sizeof(client_addr));
     1.5  +        client_length = sizeof(client_addr);
     1.6  +
     1.7 -+        vtpm_rx_fh = vtpm_tx_fh = accept(sockfd, &client_addr, &client_length);
     1.8 ++        vtpm_rx_fh = vtpm_tx_fh = accept(sockfd, (struct sockaddr *)&client_addr, &client_length);
     1.9  +      }
    1.10  +#endif
    1.11       }