X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ffilecount.c;h=a2ec8e82884e8888bd6eb9f57847b3eec3c04adb;hb=2dbe83fde7c4c89738f5c91153d0ee05e9c5e26c;hp=7eb510475eaab13dba2cf0dc90850dbc1d9ba5ed;hpb=1035fba8812893e50d00a871e3399cc1ece3b384;p=collectd.git diff --git a/src/filecount.c b/src/filecount.c index 7eb51047..a2ec8e82 100644 --- a/src/filecount.c +++ b/src/filecount.c @@ -419,7 +419,7 @@ static int fc_read_dir_callback(const char *dirname, const char *filename, if (dir == NULL) return -1; - ssnprintf(abs_path, sizeof(abs_path), "%s/%s", dirname, filename); + snprintf(abs_path, sizeof(abs_path), "%s/%s", dirname, filename); status = lstat(abs_path, &statbuf); if (status != 0) {