Update generic.c

Fix typo in the doc