summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/netapi/examples/share/share_getinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/share/share_getinfo.c b/source3/lib/netapi/examples/share/share_getinfo.c
index 5b3bbc38b6..479da5cc4a 100644
--- a/source3/lib/netapi/examples/share/share_getinfo.c
+++ b/source3/lib/netapi/examples/share/share_getinfo.c
@@ -137,7 +137,7 @@ int main(int argc, const char **argv)
printf("flags: %d\n", i501->shi501_flags);
break;
case 1005:
- printf("flags: %s\n", i1005->shi1005_flags);
+ printf("flags: %d\n", i1005->shi1005_flags);
break;
default:
break;