slackware-current/source/n/wsdd2/wsdd2.nowarn.optional.smb.conf.options.patch

12 lines
398 B
Diff
Raw Permalink Normal View History

--- ./wsdd2.c.orig 2022-04-25 07:30:50.000000000 -0500
+++ ./wsdd2.c 2024-05-24 13:51:20.210623306 -0500
@@ -601,7 +601,7 @@
char buf[PAGE_SIZE];
if (!fgets(buf, sizeof(buf), pp) || !buf[0] || buf[0] == '\n') {
- DEBUG(0, W, "cannot read %s from testparm", name);
+ DEBUG(1, W, "cannot read %s from testparm", name);
result = strdup(_default);
} else { // trim whitespace
char *p;