work in progress...
[oweals/busybox.git] / fdflush.c
index ce6870cd1128178698d77513de9996b772972638..51b0c2baca4260f57eeb6c99dd24be183bae0c5c 100644 (file)
--- a/fdflush.c
+++ b/fdflush.c
@@ -1,8 +1,8 @@
-
 /*
  * Mini fdflush implementation for busybox
  *
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
+ *
+ * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,8 +32,7 @@ extern int fdflush_main(int argc, char **argv)
     int        value;
     int        fd;
     if ( **(argv+1) == '-' ) {
-       fprintf(stderr, "Usage: fdflush device\n");
-       exit(FALSE);
+       usage( "fdflush device\n");
     }
 
     fd = open(*argv, 0);