summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 17:45:30 +0100
committerGünther Deschner <gd@samba.org>2009-03-18 17:46:00 +0100
commit21391f7fbe6c92ba050462750571cda661f5fb8a (patch)
tree32cac388ffc402066096d9dc92c50068db3ec5f1 /source3/utils
parent9d1ab9a0013127d08bad01975a5204e8f63b9ddc (diff)
downloadsamba-21391f7fbe6c92ba050462750571cda661f5fb8a.tar.gz
samba-21391f7fbe6c92ba050462750571cda661f5fb8a.tar.bz2
samba-21391f7fbe6c92ba050462750571cda661f5fb8a.zip
s3-smbcontrol: use correct PRINTER_NOTIFY flags.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 6ea200bfec..fc7d0aa360 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -669,11 +669,11 @@ static bool do_printnotify(struct messaging_context *msg_ctx,
}
if (strcmp(argv[3], "comment") == 0) {
- attribute = PRINTER_NOTIFY_COMMENT;
+ attribute = PRINTER_NOTIFY_FIELD_COMMENT;
} else if (strcmp(argv[3], "port") == 0) {
- attribute = PRINTER_NOTIFY_PORT_NAME;
+ attribute = PRINTER_NOTIFY_FIELD_PORT_NAME;
} else if (strcmp(argv[3], "driver") == 0) {
- attribute = PRINTER_NOTIFY_DRIVER_NAME;
+ attribute = PRINTER_NOTIFY_FIELD_DRIVER_NAME;
} else {
fprintf(stderr, "Invalid printer command '%s'\n",
argv[3]);