werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source3/printing/nt_pri...
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:42 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:34 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/printing/nt_printing.c

index 248193c389a2415dc9794dfb07aa48feb6ea9488..334a56e7556796cced9cfbd21d95f44618198bde 100644 (file)
@@ -1107,7 +1107,7 @@ WERROR move_driver_to_download_area(struct auth_session_info *session_info,
                break;
        default:
                DEBUG(0,("move_driver_to_download_area: Unknown info level (%u)\n", (unsigned int)r->level));
-               return WERR_UNKNOWN_LEVEL;
+               return WERR_INVALID_LEVEL;
        }
 
        short_architecture = get_short_archi(driver->architecture);