[ofa-general] ***SPAM*** [PATCH] complib/cl_event_wheel.c: Fix some printf typos

Hal Rosenstock hal.rosenstock at gmail.com
Mon Jul 28 06:54:07 PDT 2008


complib/cl_event_wheel.c: Fix some printf typos

Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---

diff --git a/opensm/complib/cl_event_wheel.c b/opensm/complib/cl_event_wheel.c
index ea9db33..ca06882 100644
--- a/opensm/complib/cl_event_wheel.c
+++ b/opensm/complib/cl_event_wheel.c
@@ -482,7 +482,7 @@ void __cl_event_wheel_dump(IN cl_event_wheel_t * const p_eve
nt_wheel)
                p_event =
                    PARENT_STRUCT(p_list_item, cl_event_wheel_reg_info_t,
                                  list_item);
-               printf("Event key:0x%" PRIx64 " Conetxt:%s NumRegs:%u\n",
+               printf("Event key:0x%" PRIx64 " Context:%s NumRegs:%u\n",
                       p_event->key, (char *)p_event->context,
                       p_event->num_regs);

@@ -498,7 +498,7 @@ void __cl_event_wheel_dump(IN cl_event_wheel_t * const p_eve
nt_wheel)
                p_event =
                    PARENT_STRUCT(p_map_item, cl_event_wheel_reg_info_t,
                                  map_item);
-               printf("Event key:0x%" PRIx64 " Conetxt:%s NumRegs:%u\n",
+               printf("Event key:0x%" PRIx64 " Context:%s NumRegs:%u\n",
                       p_event->key, (char *)p_event->context,
                       p_event->num_regs);

@@ -513,7 +513,7 @@ void __cl_event_wheel_dump(IN cl_event_wheel_t * const p_eve
nt_wheel)
 void __test_event_aging(uint64_t key, void *context)
 {
        printf("*****************************************************\n");
-       printf("Aged key: 0x%" PRIx64 " Conetxt:%s\n", key, (char *)context);
+       printf("Aged key: 0x%" PRIx64 " Context:%s\n", key, (char *)context);
 }

 int main()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-comp1
Type: application/octet-stream
Size: 1445 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080728/62c32819/attachment.obj>


More information about the general mailing list