- don't use 0 in %p format specifiers


git-svn-id: file:///home/hardaker/lib/sf-bkups/net-snmp-convert-svnrepo/trunk@7265 06827809-a52a-0410-b366-d66718629ded
diff --git a/agent/agent_index.c b/agent/agent_index.c
index 5aef258..4d81f0d 100644
--- a/agent/agent_index.c
+++ b/agent/agent_index.c
@@ -641,12 +641,12 @@
              idxptr2 = idxptr2->next_idx) {
             switch (idxptr2->varbind->type) {
             case ASN_INTEGER:
-                printf("    %ld for session %08p, allocated %d\n",
+                printf("    %ld for session %8p, allocated %d\n",
                        *idxptr2->varbind->val.integer, idxptr2->session,
                        idxptr2->allocated);
                 break;
             case ASN_OCTET_STR:
-                printf("    \"%s\" for session %08p, allocated %d\n",
+                printf("    \"%s\" for session %8p, allocated %d\n",
                        idxptr2->varbind->val.string, idxptr2->session,
                        idxptr2->allocated);
                 break;
@@ -656,11 +656,11 @@
                                          idxptr2->varbind->val.objid,
                                          idxptr2->varbind->val_len /
                                          sizeof(oid))) {
-                    printf("    %s for session %08p, allocated %d\n", ebuf,
+                    printf("    %s for session %8p, allocated %d\n", ebuf,
                            idxptr2->session, idxptr2->allocated);
                 } else {
                     printf
-                        ("    %s [TRUNCATED] for sess %08p, allocated %d\n",
+                        ("    %s [TRUNCATED] for sess %8p, allocated %d\n",
                          ebuf, idxptr2->session, idxptr2->allocated);
                 }
                 break;