Message ID | 20230109001219.2ylktzb7uckoeti5@tarta.nabijaczleweli.xyz (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Herbert Xu |
Headers | show |
Series | alias: fix name quoting in printalias | expand |
diff --git a/src/alias.c b/src/alias.c index 1375cdd..3cd589c 100644 --- a/src/alias.c +++ b/src/alias.c @@ -197,7 +197,8 @@ freealias(struct alias *ap) { void printalias(const struct alias *ap) { - out1fmt("%s=%s\n", single_quote(ap->name), single_quote(ap->val)); + out1str(single_quote(ap->name)); + out1fmt("=%s\n", single_quote(ap->name), single_quote(ap->val)); } STATIC struct alias **