~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to src/libecryptfs/messaging.c

  • Committer: Dustin Kirkland
  • Date: 2009-02-03 08:18:53 UTC
  • Revision ID: git-v1:b0090ac8d4f626339d7f8ca5681934d5e68dac3e
make most of the code compatible with -Werror

Thanks to Michal Hlavinka for the patch.  This has been on my
to-do list for a while now!

Patch retrieved from:
https://bugzilla.redhat.com/show_bug.cgi?id=479762

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                (*packet_size_length) = 2;
52
52
        } else {
53
53
                rc = -EINVAL;
54
 
                syslog(LOG_ERR, "Unsupported packet size: [%d]\n",
 
54
                syslog(LOG_ERR, "Unsupported packet size: [%zu]\n",
55
55
                       size);
56
56
        }
57
57
        return rc;