summaryrefslogtreecommitdiff
path: root/appl/cmd/auth/rsagen.b
diff options
context:
space:
mode:
Diffstat (limited to 'appl/cmd/auth/rsagen.b')
-rw-r--r--appl/cmd/auth/rsagen.b4
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/cmd/auth/rsagen.b b/appl/cmd/auth/rsagen.b
index c553d102..a1a4477c 100644
--- a/appl/cmd/auth/rsagen.b
+++ b/appl/cmd/auth/rsagen.b
@@ -51,8 +51,8 @@ init(nil: ref Draw->Context, args: list of string)
s = skip(s, "alg");
s = skip(s, "owner");
if(tag != nil)
- s = tag+" "+s;
- a := sys->aprint("key proto=rsa size=%d %s\n", nbits, s);
+ tag = " "+tag;
+ a := sys->aprint("key proto=rsa%s size=%d %s\n", tag, nbits, s);
if(sys->write(sys->fildes(1), a, len a) != len a)
error(sys->sprint("error writing key: %r"));
}