Module Name: src
Committed By: jnemeth
Date: Tue May 19 22:55:24 UTC 2009
Modified Files:
src/sbin/modload: main.c
Log Message:
fputs() instead of puts() so we don't get the silly extra blank line
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sbin/modload/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/modload/main.c
diff -u src/sbin/modload/main.c:1.6 src/sbin/modload/main.c:1.7
--- src/sbin/modload/main.c:1.6 Tue May 19 22:39:52 2009
+++ src/sbin/modload/main.c Tue May 19 22:55:24 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.6 2009/05/19 22:39:52 wiz Exp $ */
+/* $NetBSD: main.c,v 1.7 2009/05/19 22:55:24 jnemeth Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.6 2009/05/19 22:39:52 wiz Exp $");
+__RCSID("$NetBSD: main.c,v 1.7 2009/05/19 22:55:24 jnemeth Exp $");
#endif /* !lint */
#include <sys/module.h>
@@ -104,7 +104,7 @@
errx(EXIT_FAILURE, "Failed to process properties");
if (output_props)
- puts(propsstr);
+ fputs(propsstr, stdout);
else {
if (argc != 1)
usage();