diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-02-13 14:16:47 +1300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2023-04-12 13:52:32 +0000 |
commit | e0db10cfc387bce669491046d5c52bfc8d1a1ba1 (patch) | |
tree | a2b6d53cb66bfc9fcd7fb49dbc6706ca2e7fecea | |
parent | 03bd1b8ee9bf3ec94869a9b19c871784049f22bf (diff) | |
download | samba-e0db10cfc387bce669491046d5c52bfc8d1a1ba1.tar.gz |
s3:net_usershare: Correctly escape newline in error message
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r-- | source3/utils/net_usershare.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index a4887a3a34d..e5826eeecf1 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -961,7 +961,7 @@ static int net_usershare_add(struct net_context *c, int argc, const char **argv) if (fchmod(tmpfd, 0644) == -1) { d_fprintf(stderr, _("net usershare add: failed to fchmod tmp file %s " - "to 0644n"), + "to 0644\n"), full_path_tmp ); TALLOC_FREE(ctx); close(tmpfd); |