summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-11 15:20:41 +0000
committerGerald Carter <jerry@samba.org>2004-02-11 15:20:41 +0000
commitdad12f62ff1828fc4ee05cae2e2b27931e1d396b (patch)
tree467520db66dae134f96d7d4d6e9b0ee51d40e87b /source3/utils/net_rpc.c
parentb11fa6146ba9f2a51d495e859357e182a18a7e84 (diff)
downloadsamba-dad12f62ff1828fc4ee05cae2e2b27931e1d396b.tar.gz
samba-dad12f62ff1828fc4ee05cae2e2b27931e1d396b.tar.bz2
samba-dad12f62ff1828fc4ee05cae2e2b27931e1d396b.zip
BUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting fixes for 'net share'
(This used to be commit 447d4fee6c245a5bbf0c33c8ffb0fd9041e51c24)
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r--source3/utils/net_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 30da32ae4e..b92d7ec81e 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -1623,10 +1623,10 @@ static void display_share_info_1(SRV_SHARE_INFO_1 *info1)
rpcstr_pull_unistr2_fstring(remark, &info1->info_1_str.uni_remark);
if (opt_long_list_entries) {
- d_printf("%-12.12s %-8.8s %-50.50s\n",
+ d_printf("%-12s %-8.8s %-50s\n",
netname, share_type[info1->info_1.type], remark);
} else {
- d_printf("%-12.12s\n", netname);
+ d_printf("%s\n", netname);
}
}