Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fsck_udf fsck_udf(8): Sprinkle __printflike and omit se...
details: https://anonhg.NetBSD.org/src/rev/4b34eefa1ccb
branches: trunk
changeset: 364719:4b34eefa1ccb
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Apr 08 23:47:19 2022 +0000
description:
fsck_udf(8): Sprinkle __printflike and omit self-assignment.
diffstat:
sbin/fsck_udf/main.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r c35cf111231e -r 4b34eefa1ccb sbin/fsck_udf/main.c
--- a/sbin/fsck_udf/main.c Fri Apr 08 23:35:51 2022 +0000
+++ b/sbin/fsck_udf/main.c Fri Apr 08 23:47:19 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.3 2022/04/06 16:01:06 martin Exp $ */
+/* $NetBSD: main.c,v 1.4 2022/04/08 23:47:19 riastradh Exp $ */
/*
* Copyright (c) 2022 Reinoud Zandijk
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.3 2022/04/06 16:01:06 martin Exp $");
+__RCSID("$NetBSD: main.c,v 1.4 2022/04/08 23:47:19 riastradh Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -1782,7 +1782,6 @@
return ENOENT;
/* TODO sanity check vat length */
- vat_length = vat_length;
return 0;
}
@@ -4405,7 +4404,7 @@
/*VARARGS*/
-static int
+static int __printflike(2, 3)
ask(int def, const char *fmt, ...)
{
va_list ap;
@@ -4438,7 +4437,7 @@
/*VARARGS*/
-static int
+static int __printflike(2, 3)
ask_noauto(int def, const char *fmt, ...)
{
va_list ap;
Home |
Main Index |
Thread Index |
Old Index