Skip to contentSkip to conversation

trivial C99 designated initializer fix for net/sctp/sm_statetable.c

PATCH New Art Haas 1 participant 1 message Oct 7, 2002

Subsystems (3)
lore
Share & tools
lore

Art Haas

author
#0 lore raw

PATCH 1/1 trivial C99 designated initializer fix for net/sctp/sm_statetable.c

Hi.

As the subject indicated, the patch is trivial. Patch is against 2.5.41.

Art Haas

net/sctp/sm_statetable.c renamed from net/sctp/sm_statetable.c.old +1 -1
@@ -555,7 +555,7 @@
 	 .name = "sctp_sf_cookie_wait_prm_shutdown"}, \
 	/* SCTP_STATE_COOKIE_ECHOED */ \
 	{.fn = sctp_sf_cookie_echoed_prm_shutdown, \
-	 name:"sctp_sf_cookie_echoed_prm_shutdown"},\
+	 .name = "sctp_sf_cookie_echoed_prm_shutdown"},\
 	/* SCTP_STATE_ESTABLISHED */ \
 	{.fn = sctp_sf_do_9_2_prm_shutdown, \
 	 .name = "sctp_sf_do_9_2_prm_shutdown"}, \
Signature · 3 lines
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759