Commit 21030ab4 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Correct function names on diagnostic messages

parent c36fcf83
...@@ -427,7 +427,8 @@ vsm_refresh_set2(struct vsm *vd, struct vsm_set *vs, struct vsb *vsb) ...@@ -427,7 +427,8 @@ vsm_refresh_set2(struct vsm *vd, struct vsm_set *vs, struct vsb *vsb)
p = e + 1; p = e + 1;
if (av[0] != NULL || ac < 4 || ac > 5) { if (av[0] != NULL || ac < 4 || ac > 5) {
(void)(vsm_diag(vd, "VSM_Open: bad index (%d/%s)", (void)(vsm_diag(vd,
"vsm_refresh_set2: bad index (%d/%s)",
ac, av[0])); ac, av[0]));
VAV_Free(av); VAV_Free(av);
break; break;
...@@ -506,7 +507,8 @@ VSM_Status(struct vsm *vd) ...@@ -506,7 +507,8 @@ VSM_Status(struct vsm *vd)
if (vd->dfd < 0) { if (vd->dfd < 0) {
vd->dfd = open(vd->dname, O_RDONLY); vd->dfd = open(vd->dname, O_RDONLY);
if (vd->dfd < 0) if (vd->dfd < 0)
(void)vsm_diag(vd, "VSM_Open: Cannot open workdir"); (void)vsm_diag(vd,
"VSM_Status: Cannot open workdir");
else else
AZ(fstat(vd->dfd, &vd->dst)); AZ(fstat(vd->dfd, &vd->dst));
} }
...@@ -710,7 +712,7 @@ VSM_Unmap(struct vsm *vd, struct vsm_fantom *vf) ...@@ -710,7 +712,7 @@ VSM_Unmap(struct vsm *vd, struct vsm_fantom *vf)
AN(vf->b); AN(vf->b);
vg = vsm_findseg(vd, vf); vg = vsm_findseg(vd, vf);
if (vg == NULL) if (vg == NULL)
return (vsm_diag(vd, "VSM_Map: bad fantom")); return (vsm_diag(vd, "VSM_Unmap: bad fantom"));
assert(vg->refs > 0); assert(vg->refs > 0);
vg->refs--; vg->refs--;
vf->b = NULL; vf->b = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment