]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:ldb:ldb_sqlite3: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Mon, 3 Apr 2023 08:16:26 +0000 (10:16 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 4 Apr 2023 07:31:36 +0000 (07:31 +0000)
Best reviewed with: `git show --word-diff`.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_sqlite3/ldb_sqlite3.c

index 0f5abf875472d5202bdc0a243690bf03551848d0..110fe2a98d44d83e53e4ca6642d40402e71ac099 100644 (file)
@@ -1199,7 +1199,7 @@ static int lsql_modify(struct lsql_context *ctx)
                case LDB_FLAG_MOD_ADD:
 
                        if (el->num_values == 0) {
-                               ldb_asprintf_errstring(ldb, "attribute %s on %s specified, but with 0 values (illigal)",
+                               ldb_asprintf_errstring(ldb, "attribute %s on %s specified, but with 0 values (illegal)",
                                                       el->name, ldb_dn_get_linearized(msg->dn));
                                return LDB_ERR_CONSTRAINT_VIOLATION;
                        }