smbclient: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR
[samba.git] / source3 / client / client.c
index d233becba22412e1374eef774e5b17db0530b4bf..f65293849d09185ea9bcf00e3fa531043a79f160 100644 (file)
@@ -4515,7 +4515,7 @@ static int cmd_notify(void)
                status = cli_notify(cli, fnum, 1000, FILE_NOTIFY_CHANGE_ALL,
                                    true,
                                    talloc_tos(), &num_changes, &changes);
-               if (NT_STATUS_EQUAL(status, STATUS_NOTIFY_ENUM_DIR)) {
+               if (NT_STATUS_EQUAL(status, NT_STATUS_NOTIFY_ENUM_DIR)) {
                        printf("NOTIFY_ENUM_DIR\n");
                        status = NT_STATUS_OK;
                }