[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sanlock-devel
Subject:    tests/sanlk_events.c
From:       David Teigland <teigland () fedoraproject ! org>
Date:       2014-08-12 19:33:41
Message-ID: 20140812193341.6D3E060F17 () fedorahosted ! org
[Download RAW message or body]

 tests/sanlk_events.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 80284cf37d2eece9d6990d2a446dec68e82b8480
Author: David Teigland <teigland@redhat.com>
Date:   Tue Aug 12 14:32:42 2014 -0500

    tests: update sanlk_events
    
    print the full event struct
    
    Signed-off-by: David Teigland <teigland@redhat.com>

diff --git a/tests/sanlk_events.c b/tests/sanlk_events.c
index ed78fda..750a31e 100644
--- a/tests/sanlk_events.c
+++ b/tests/sanlk_events.c
@@ -85,7 +85,9 @@ int main(int argc, char *argv[])
 					break;
 			 	}
 
-				printf("get_event 0x%llx 0x%llx from %llu %llu\n",
+				printf("get_event host_id %llu generation %llu event 0x%llx data 0x%llx from %llu %llu\n",
+					(unsigned long long)he.host_id,
+					(unsigned long long)he.generation,
 					(unsigned long long)he.event,
 					(unsigned long long)he.data,
 					(unsigned long long)from_host,


_______________________________________________
sanlock-devel mailing list
sanlock-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sanlock-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic