Coverity fixes
[nivanova/samba-autobuild/.git] / source3 / smbd / notify.c
index 55009ce0b1c06d7d4f7b5fdb3aae4869b62205ad..ffdf1c22e7c39166e7a944e755be55abd6a68b72 100644 (file)
@@ -169,7 +169,7 @@ void change_notify_reply(connection_struct *conn,
                return;
        }
 
-       prs_init(&ps, 0, NULL, MARSHALL);
+       prs_init_empty(&ps, NULL, MARSHALL);
 
        if (!notify_marshall_changes(notify_buf->num_changes, max_param,
                                        notify_buf->changes, &ps)) {