Module Name: src
Committed By: dholland
Date: Thu Dec 1 00:15:32 UTC 2011
Modified Files:
src/usr.sbin/user: user.c
Log Message:
attribute format printf -> __printflike
To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/usr.sbin/user/user.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/user/user.c
diff -u src/usr.sbin/user/user.c:1.126 src/usr.sbin/user/user.c:1.127
--- src/usr.sbin/user/user.c:1.126 Tue Jan 4 10:30:21 2011
+++ src/usr.sbin/user/user.c Thu Dec 1 00:15:32 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: user.c,v 1.126 2011/01/04 10:30:21 wiz Exp $ */
+/* $NetBSD: user.c,v 1.127 2011/12/01 00:15:32 dholland Exp $ */
/*
* Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -33,7 +33,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1999\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: user.c,v 1.126 2011/01/04 10:30:21 wiz Exp $");
+__RCSID("$NetBSD: user.c,v 1.127 2011/12/01 00:15:32 dholland Exp $");
#endif
#include <sys/types.h>
@@ -219,8 +219,7 @@ enum {
#define UNSET_INACTIVE "Null (unset)"
#define UNSET_EXPIRY "Null (unset)"
-static int asystem(const char *fmt, ...)
- __attribute__((__format__(__printf__, 1, 2)));
+static int asystem(const char *fmt, ...) __printflike(1, 2);
static int is_number(const char *);
static struct group *find_group_info(const char *);
static int verbose;