doc: fix sample syntax error