bos-error-string-args-cleanup-20030808
[openafs.git] / src / bozo / bos.c
index 565bd35..412510f 100644 (file)
@@ -1716,7 +1716,7 @@ SalvageCmd(as)
        } else {
            printf
                ("bos: can't initialize volume system client (code %d), trying anyway.\n",
-                as->parms[2].items->data, code);
+                code);
            strncpy(tname, as->parms[2].items->data, sizeof(tname));
        }
        if (volutil_GetPartitionID(as->parms[1].items->data) < 0) {
@@ -1802,7 +1802,7 @@ DoStat(aname, aconn, aint32p, firstTime)
        printf("bos: failed to get status for instance '%s' (%s)\n", aname,
               em(code));
     else {
-       printf("currently ", aname);
+       printf("currently ");
        if (temp == BSTAT_NORMAL)
            printf("running normally.\n");
        else if (temp == BSTAT_SHUTDOWN)