[patch] net/appletalk/aarp.c typo

From: Jasper Spaans
Date: Wed Sep 10 2003 - 14:14:52 EST


Hello,

The patch recently applied to net/appletalk/aarp.c has a typo in it; line
944 in bk currently reads

return *pos ? iter_next(iter, pos) : SEQ_START_TOKEN);

which will not compile.

The following patch fixes that; please apply.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1175 -> 1.1176
# net/appletalk/aarp.c 1.17 -> 1.18
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/10 jasper@xxxxxxxx 1.1176
# Fix up typo in net/appletalk/aarp.c to make it compile again.
# --------------------------------------------
#
diff -Nru a/net/appletalk/aarp.c b/net/appletalk/aarp.c
--- a/net/appletalk/aarp.c Wed Sep 10 21:09:52 2003
+++ b/net/appletalk/aarp.c Wed Sep 10 21:09:52 2003
@@ -941,7 +941,7 @@
iter->table = resolved;
iter->bucket = 0;

- return *pos ? iter_next(iter, pos) : SEQ_START_TOKEN);
+ return *pos ? iter_next(iter, pos) : SEQ_START_TOKEN;
}

static void *aarp_seq_next(struct seq_file *seq, void *v, loff_t *pos)


Bye,
--
Jasper Spaans http://jsp.vs19.net/
21:03:46 up 9702 days, 11:50, 0 users, load average: 12.41 6.76 3.53
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/