diff options
Diffstat (limited to 'src/trigproc.c')
-rw-r--r-- | src/trigproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trigproc.c b/src/trigproc.c index bd659a8e6..5dfb605a1 100644 --- a/src/trigproc.c +++ b/src/trigproc.c @@ -314,10 +314,10 @@ trigproc(struct pkginfo *pkg) varbuf_reset(&namesarg); for (tp = pkg->trigpend_head; tp; tp = tp->next) { - varbufaddc(&namesarg, ' '); + varbuf_add_char(&namesarg, ' '); varbufaddstr(&namesarg, tp->name); } - varbufaddc(&namesarg, 0); + varbuf_add_char(&namesarg, '\0'); /* Setting the status to half-configured * causes modstatdb_note to clear pending triggers. */ |