summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing_migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/nt_printing_migrate.c')
-rw-r--r--source3/printing/nt_printing_migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c
index 362eb90fa5..2060b91f35 100644
--- a/source3/printing/nt_printing_migrate.c
+++ b/source3/printing/nt_printing_migrate.c
@@ -243,7 +243,7 @@ static NTSTATUS migrate_printer(TALLOC_CTX *mem_ctx,
status = werror_to_ntstatus(result);
}
DEBUG(2, ("OpenPrinter(%s) failed: %s\n",
- key_name, nt_errstr(status)));
+ key_name, win_errstr(result)));
return status;
}