/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to dracut-module/password-agent.c

  • Committer: Teddy Hogeborn
  • Date: 2021-02-04 17:57:58 UTC
  • Revision ID: teddy@recompile.se-20210204175758-t9gywlxuhe1nseqo
dracut-module/password-agent.c: Add extra diagnostic info

* dracut-module/password-agent.c
  (test_send_password_to_socket_EMSGSIZE): If send() fails, also show
  the message size.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6005
6005
    if(ssret < 0){
6006
6006
      if(saved_errno != EMSGSIZE) {
6007
6007
        g_test_skip("Skipping EMSGSIZE test");
6008
 
        g_test_message("Error on send(): %s", strerror(saved_errno));
 
6008
        g_test_message("Error on send(%" PRIuMAX " bytes): %s",
 
6009
                       (uintmax_t)message_size,
 
6010
                       strerror(saved_errno));
6009
6011
        return;
6010
6012
      }
6011
6013
      break;