Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/blacklist/bin One more possible star.



details:   https://anonhg.NetBSD.org/src/rev/901e3a5af98b
branches:  trunk
changeset: 362055:901e3a5af98b
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 24 19:21:01 2018 +0000

description:
One more possible star.

diffstat:

 external/bsd/blacklist/bin/blacklistctl.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r c141f5f9aba8 -r 901e3a5af98b external/bsd/blacklist/bin/blacklistctl.c
--- a/external/bsd/blacklist/bin/blacklistctl.c Thu May 24 19:19:37 2018 +0000
+++ b/external/bsd/blacklist/bin/blacklistctl.c Thu May 24 19:21:01 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: blacklistctl.c,v 1.22 2018/05/24 19:19:37 christos Exp $       */
+/*     $NetBSD: blacklistctl.c,v 1.23 2018/05/24 19:21:01 christos Exp $       */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: blacklistctl.c,v 1.22 2018/05/24 19:19:37 christos Exp $");
+__RCSID("$NetBSD: blacklistctl.c,v 1.23 2018/05/24 19:21:01 christos Exp $");
 
 #include <stdio.h>
 #include <time.h>
@@ -160,7 +160,8 @@
                        else
                                fmttime(buf, sizeof(buf), dbi.last);
                }
-               printf("%s\t%d/%d\t%-s\n", dbi.id, dbi.count, c.c_nfail, buf);
+               printf("%s\t%d/%s\t%-s\n", dbi.id, dbi.count,
+                   star(mbuf, sizeof(mbuf), c.c_nfail), buf);
        }
        state_close(db);
        return EXIT_SUCCESS;



Home | Main Index | Thread Index | Old Index