Source-Changes-HG archive

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

[src/trunk]: src/sbin/umbctl Mark _error() as printflikee



details:   https://anonhg.NetBSD.org/src/rev/313052619ad2
branches:  trunk
changeset: 365136:313052619ad2
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Aug 02 03:40:51 2018 +0000

description:
Mark _error() as printflikee

diffstat:

 sbin/umbctl/umbctl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 08d9a807bd5b -r 313052619ad2 sbin/umbctl/umbctl.c
--- a/sbin/umbctl/umbctl.c      Thu Aug 02 00:41:17 2018 +0000
+++ b/sbin/umbctl/umbctl.c      Thu Aug 02 03:40:51 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umbctl.c,v 1.1 2018/07/31 16:44:29 khorben Exp $ */
+/* $NetBSD: umbctl.c,v 1.2 2018/08/02 03:40:51 roy Exp $ */
 /*
  * Copyright (c) 2018 Pierre Pronchery <khorben%defora.org@localhost>
  *
@@ -122,7 +122,7 @@
 
 
 /* error */
-static int _error(int ret, char const * format, ...)
+__printflike(2, 3) static int _error(int ret, char const * format, ...)
 {
        va_list ap;
 



Home | Main Index | Thread Index | Old Index