Skip to content

Commit

Permalink
Documentation fix on sample source code
Browse files Browse the repository at this point in the history
The example code doesn't compile without this patch as sym isn't a pointer.
  • Loading branch information
kristianlm committed Dec 1, 2014
1 parent 817333d commit c82f9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/nn_symbol_info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ for (i = 0; ; ++i) {
if(rc == 0)
break;
assert (rc == sizeof (sym));
printf ("'%s' = %d\n", sym->name, sym->value);
printf ("'%s' = %d\n", sym.name, sym.value);
}
----

Expand Down

0 comments on commit c82f9ad

Please sign in to comment.