~ubuntu-branches/debian/lenny/ecryptfs-utils/lenny

« back to all changes in this revision

Viewing changes to src/libecryptfs/miscdev.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-24 06:42:00 UTC
  • mfrom: (1.1.11 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20081024064200-oh6xmd4e4ogs7m2l
Tags: 63-1
MergingĀ upstreamĀ versionĀ 63.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                          uint16_t msg_flags, uint32_t msg_seq)
44
44
{
45
45
        uint32_t miscdev_msg_data_size;
46
 
        uint32_t packet_len_size;
47
 
        uint32_t packet_len;
 
46
        size_t packet_len_size;
 
47
        size_t packet_len;
48
48
        uint32_t msg_seq_be32;
49
49
        uint32_t i;
50
50
        ssize_t written;
259
259
                }
260
260
                reply->index = emsg->index;
261
261
                rc = ecryptfs_send_miscdev(miscdev_ctx, reply,
262
 
                                        ECRYPTFS_MSG_RESPONSE, 0, msg_seq);
 
262
                                           ECRYPTFS_MSG_RESPONSE, 0, msg_seq);
263
263
                if (rc < 0) {
264
264
                        syslog(LOG_ERR, "Failed to send netlink "
265
265
                               "message in response to kernel "