git.samba.org
/
asn
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03bd1b8
)
s3:net_usershare: Correctly escape newline in error message
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Mon, 13 Feb 2023 01:16:47 +0000
(14:16 +1300)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:32 +0000
(13:52 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/utils/net_usershare.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_usershare.c
b/source3/utils/net_usershare.c
index a4887a3a34d92b90bc705e7aad994eb4ea221594..e5826eeecf16e4f0915473e8c0defd16129b349e 100644
(file)
--- 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);