NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/47976 CVS commit: src/usr.sbin/schedctl
The following reply was made to PR bin/47976; it has been noted by GNATS.
From: "David A. Holland" <dholland%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/47976 CVS commit: src/usr.sbin/schedctl
Date: Sun, 27 Jul 2014 04:46:48 +0000
Module Name: src
Committed By: dholland
Date: Sun Jul 27 04:46:48 UTC 2014
Modified Files:
src/usr.sbin/schedctl: schedctl.c
Log Message:
Fix illegal snprintf usage noted in PR 47976 by simplifying it away:
instead of consing up a string and printing it to stdout, just print
to stdout. Not as compositionally tidy, but much simpler and perfectly
adequate here.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/schedctl/schedctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index