s3:printing: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 8 Aug 2023 00:20:31 +0000 (12:20 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:38 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/printing/printer_list.c

index 3430d2b7d17ce621fc92cc91ae1b7537cd85008b..7fd07ed1f34baa304beaaf47c933212fac1b1187 100644 (file)
@@ -98,7 +98,7 @@ NTSTATUS printer_list_get_printer(TALLOC_CTX *mem_ctx,
                         PL_DATA_FORMAT,
                         &time_h, &time_l, &nstr, &cstr, &lstr);
        if (ret == -1) {
-               DEBUG(1, ("Failed to un pack printer data\n"));
+               DEBUG(1, ("Failed to unpack printer data\n"));
                status = NT_STATUS_INTERNAL_DB_CORRUPTION;
                goto done;
        }
@@ -249,7 +249,7 @@ NTSTATUS printer_list_get_last_refresh(time_t *last_refresh)
                         PL_TSTAMP_FORMAT, &time_h, &time_l);
        TALLOC_FREE(data.dptr);
        if (ret == -1) {
-               DEBUG(1, ("Failed to un pack printer data\n"));
+               DEBUG(1, ("Failed to unpack printer data\n"));
                status = NT_STATUS_INTERNAL_DB_CORRUPTION;
                goto done;
        }
@@ -354,7 +354,7 @@ static int printer_list_clean_fn(struct db_record *rec, void *private_data)
                         PL_DATA_FORMAT, &time_h, &time_l, &name, &comment,
                         &location);
        if (ret == -1) {
-               DEBUG(1, ("Failed to un pack printer data\n"));
+               DEBUG(1, ("Failed to unpack printer data\n"));
                state->status = NT_STATUS_INTERNAL_DB_CORRUPTION;
                return -1;
        }
@@ -427,7 +427,7 @@ static int printer_list_exec_fn(struct db_record *rec, void *private_data)
                         PL_DATA_FORMAT, &time_h, &time_l, &name, &comment,
                         &location);
        if (ret == -1) {
-               DEBUG(1, ("Failed to un pack printer data\n"));
+               DEBUG(1, ("Failed to unpack printer data\n"));
                state->status = NT_STATUS_INTERNAL_DB_CORRUPTION;
                return -1;
        }