summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-02 14:48:41 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-02-03 13:27:15 +1300
commit4286e147a62af784f4661cdd9d668e4d86cba4f2 (patch)
treef332233b28f3021ff2396104a8d8dd147d2f609a /source4/param
parent0cdb0f899809b624b5b5b234acdf974ac14a8d13 (diff)
downloadsamba-4286e147a62af784f4661cdd9d668e4d86cba4f2.tar.gz
loadparm: rename lp[cfg]_print_ok to lp[cfg]_printable for consistency with docs
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/share_classic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index 17afa175252..c78990ec34e 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -88,7 +88,7 @@ static const char *sclassic_string_option(struct share_config *scfg,
}
if (strcmp(opt_name, SHARE_TYPE) == 0) {
- if (lpcfg_print_ok(s, lpcfg_default_service(lp_ctx))) {
+ if (lpcfg_printable(s, lpcfg_default_service(lp_ctx))) {
return "PRINTER";
}
if (strcmp("NTFS", lpcfg_fstype(s, lpcfg_default_service(lp_ctx))) == 0) {