From df0e2272015820841bf8f26af9ecdc87d8791506 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 18 Jul 2005 08:28:25 +0000 Subject: [PATCH] Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg --- servers/slapd/bconfig.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 13091fcc67..5c09b9431e 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3318,8 +3318,6 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs, int *idx = NULL; if ( ct && ( ct->arg_type & ARG_NO_DELETE )) { rc = LDAP_OTHER; - snprintf( ca->msg, sizeof(ca->msg), - "<%s> cannot be deleted" ); snprintf(ca->msg, sizeof(ca->msg), "cannot delete %s", ml->sml_desc->ad_cname.bv_val ); goto out; -- 2.39.5