From bea3342290b765a9ad95dc1ffd0a28d604d158fe Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 21 Mar 2001 23:46:48 +0000 Subject: [PATCH] slight cleanup: KNF, and one line breaking tweak to make usage() slightly more diffable w/ the BFD version in pkgsrc. --- usr.sbin/mdsetimage/mdsetimage.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.sbin/mdsetimage/mdsetimage.c b/usr.sbin/mdsetimage/mdsetimage.c index 66961b3d9aa8..4344e987b28a 100644 --- a/usr.sbin/mdsetimage/mdsetimage.c +++ b/usr.sbin/mdsetimage/mdsetimage.c @@ -1,4 +1,4 @@ -/* $NetBSD: mdsetimage.c,v 1.14 2001/03/21 23:27:33 cgd Exp $ */ +/* $NetBSD: mdsetimage.c,v 1.15 2001/03/21 23:46:48 cgd Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou @@ -42,7 +42,7 @@ __COPYRIGHT( #endif /* not lint */ #ifndef lint -__RCSID("$NetBSD: mdsetimage.c,v 1.14 2001/03/21 23:27:33 cgd Exp $"); +__RCSID("$NetBSD: mdsetimage.c,v 1.15 2001/03/21 23:46:48 cgd Exp $"); #endif /* not lint */ #include @@ -152,7 +152,7 @@ main(argc, argv) errx(1, "fs image is too big"); if (fssb.st_size > md_root_size) errx(1, "fs image (%lld bytes) too big for buffer (%lu bytes)", - (long long)fssb.st_size, (unsigned long)md_root_size); + (long long)fssb.st_size, (unsigned long)md_root_size); if (verbose) fprintf(stderr, "copying image from %s into %s\n", fsfile, @@ -181,7 +181,9 @@ static void usage() { - fprintf(stderr, "usage: %s kernel_file fsimage_file\n", getprogname()); + fprintf(stderr, + "usage: %s kernel_file fsimage_file\n", + getprogname()); exit(1); }