diff options
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/util.c b/source4/param/util.c index 1cbae841bc..89498b57a6 100644 --- a/source4/param/util.c +++ b/source4/param/util.c @@ -107,7 +107,7 @@ _PUBLIC_ char *config_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx, char *fname, *config_dir, *p; config_dir = talloc_strdup(mem_ctx, lp_configfile(lp_ctx)); p = strrchr(config_dir, '/'); - if (!p) { + if (p == NULL) { return NULL; } p[0] = '\0'; |