[PATCH 2/4] Trivial compile fix for cache.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Pavel Roskin <proski@xxxxxxx>

"tagnames" was renamed to "link", fix the last occurrence of "tagnames".

Signed-off-by: Pavel Roskin <proski@xxxxxxx>
---

 cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cache.c b/cache.c
index 409392d..07e5d02 100644
--- a/cache.c
+++ b/cache.c
@@ -501,7 +501,7 @@ static void dump_patch_set(FILE * fp, Pa
 	struct list_head * tag;
 	for (tag = ps->tags.next; tag != &ps->tags; tag = tag->next)
 	{
-            TagName* tagname = list_entry (tag, TagName, tagnames);
+            TagName* tagname = list_entry (tag, TagName, link);
 
 	    fprintf(fp, " %s %d%s", tagname->name, tagname->flags,
 		    (tag->next == &ps->tags) ? "" : ",");

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]