summaryrefslogtreecommitdiff
path: root/source3/utils/net_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_status.c')
-rw-r--r--source3/utils/net_status.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c
index 31693affe7..d3b1bae276 100644
--- a/source3/utils/net_status.c
+++ b/source3/utils/net_status.c
@@ -74,7 +74,7 @@ static int net_status_sessions(int argc, const char **argv)
TDB_DEFAULT, O_RDONLY, 0);
if (tdb == NULL) {
- d_printf("%s not initialised\n", lock_path("sessionid.tdb"));
+ d_fprintf(stderr, "%s not initialised\n", lock_path("sessionid.tdb"));
return -1;
}
@@ -186,7 +186,7 @@ static int net_status_shares_parseable(int argc, const char **argv)
TDB_DEFAULT, O_RDONLY, 0);
if (tdb == NULL) {
- d_printf("%s not initialised\n", lock_path("sessionid.tdb"));
+ d_fprintf(stderr, "%s not initialised\n", lock_path("sessionid.tdb"));
return -1;
}
@@ -197,9 +197,9 @@ static int net_status_shares_parseable(int argc, const char **argv)
TDB_DEFAULT, O_RDONLY, 0);
if (tdb == NULL) {
- d_printf("%s not initialised\n", lock_path("connections.tdb"));
- d_printf("This is normal if no SMB client has ever connected "
- "to your server.\n");
+ d_fprintf(stderr, "%s not initialised\n", lock_path("connections.tdb"));
+ d_fprintf(stderr, "This is normal if no SMB client has ever "
+ "connected to your server.\n");
return -1;
}
@@ -226,10 +226,10 @@ static int net_status_shares(int argc, const char **argv)
TDB_DEFAULT, O_RDONLY, 0);
if (tdb == NULL) {
- d_printf("%s not initialised\n",
+ d_fprintf(stderr, "%s not initialised\n",
lock_path("connections.tdb"));
- d_printf("This is normal if no SMB client has ever "
- "connected to your server.\n");
+ d_fprintf(stderr, "This is normal if no SMB client has "
+ "ever connected to your server.\n");
return -1;
}