summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_share.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/libnet/libnet_share.c')
-rw-r--r--source4/torture/libnet/libnet_share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_share.c b/source4/torture/libnet/libnet_share.c
index 5489f42ac8..93919a4129 100644
--- a/source4/torture/libnet/libnet_share.c
+++ b/source4/torture/libnet/libnet_share.c
@@ -148,7 +148,7 @@ BOOL torture_listshares(void)
status = libnet_ListShares(libnetctx, mem_ctx, &share);
if (!NT_STATUS_IS_OK(status)) {
- printf("libnet_ListShare level %u failed - %s\n", share.in.level, nt_errstr(status));
+ printf("libnet_ListShare level %u failed - %s\n", share.in.level, share.out.error_string);
ret = False;
goto done;
}