s3:net rpc printer: fix use of a possibly uninitialized variable
authorMichael Adam <obnox@samba.org>
Mon, 24 May 2010 12:18:21 +0000 (14:18 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 25 May 2010 08:35:30 +0000 (10:35 +0200)
source3/utils/net_rpc_printer.c

index 8c7585a83768923f64b1d41c55f018594030102a..cbb9fb728bf2ddacbf65802a9eb2476cd7ce17da 100644 (file)
@@ -2370,7 +2370,7 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c,
                                        goto done;
 
                                DEBUGADD(1,("\tSetPrinterData of [%s] succeeded\n",
-                                       v.valuename));
+                                           value_name));
                        }
                }