Displaying 1 result from an estimated 1 matches for "9deacd4".
Did you mean:
9dea14d
2011 Jul 05
0
[PATCH] losetup: use stdout and return 0 for -h
...stro.at>
---
Other patches might be useful too, that one just triggered
the easy to port and useful treshold. (:
usr/utils/losetup.c | 29 +++++++++++++++++------------
1 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/usr/utils/losetup.c b/usr/utils/losetup.c
index 59030d7..9deacd4 100644
--- a/usr/utils/losetup.c
+++ b/usr/utils/losetup.c
@@ -353,14 +353,16 @@ int del_loop (const char *device)
int verbose = 0;
char *progname;
-static void usage(void) {
- fprintf(stderr, "usage:\n\
+static void usage(FILE *f)
+{
+ fprintf(f, "usage:\n\
%s loop_device...