projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f55b1
)
Jason Schoon writes: Attached is a patch to display the usage message if fuser is...
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 21 Apr 2006 22:04:05 +0000
(22:04 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 21 Apr 2006 22:04:05 +0000
(22:04 -0000)
procps/fuser.c
patch
|
blob
|
history
diff --git
a/procps/fuser.c
b/procps/fuser.c
index 850626e42d16ddc9939fe1271420fe09ad3405a6..35d77ed1c9a67c076135e8114fd3272c0de060cf 100644
(file)
--- a/
procps/fuser.c
+++ b/
procps/fuser.c
@@
-326,6
+326,9
@@
int fuser_main(int argc, char **argv)
int killsig = SIGTERM;
int success = 1;
+ if (argc < 2)
+ bb_show_usage();
+
fni = xmalloc(sizeof(int));
for(i=1;i<argc;i++) {
optn = fuser_option(argv[i]);