Add %k for package locking status; goes with the newly committed pkg-lock(8)
modified libpkg/pkg_printf.c
@@ -123,7 +123,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -228,6 +228,7 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -308,6 +309,7 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1421,6 +1423,20 @@ format_add_info(struct sbuf *sbuf, struct pkg *pkg, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1717,7 +1733,7 @@ parse_escape(const char *f, unsigned context, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1926,6 +1942,9 @@ process_format(struct sbuf *sbuf, const char *f, va_list ap)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2162,6 +2181,9 @@ pkg_sbuf_vprintf(struct sbuf *sbuf, const char *format, va_list ap)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|