Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/atactl printf fmt string without %s, from OpenBSD.
details: https://anonhg.NetBSD.org/src/rev/7b6906ee060e
branches: trunk
changeset: 494444:7b6906ee060e
user: ad <ad%NetBSD.org@localhost>
date: Thu Jul 06 14:01:06 2000 +0000
description:
printf fmt string without %s, from OpenBSD.
diffstat:
sbin/atactl/atactl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3d49e3bee8bd -r 7b6906ee060e sbin/atactl/atactl.c
--- a/sbin/atactl/atactl.c Thu Jul 06 13:39:47 2000 +0000
+++ b/sbin/atactl/atactl.c Thu Jul 06 14:01:06 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atactl.c,v 1.6 1999/11/01 02:30:58 soren Exp $ */
+/* $NetBSD: atactl.c,v 1.7 2000/07/06 14:01:06 ad Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -267,7 +267,7 @@
for (; binfo->bitmask != NULL; binfo++)
if (bits & binfo->bitmask)
- printf(f, binfo->string);
+ printf(f, "%s", binfo->string);
}
/*
Home |
Main Index |
Thread Index |
Old Index