aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
commitbf0a201008671f81c107de72c026b1b84967561d (patch)
treeaf74820b70fa27929fe218c95822c20651b60637 /procps
parent5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff)
downloadbusybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.gz
busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2
busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.zip
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'procps')
-rw-r--r--procps/fuser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/fuser.c b/procps/fuser.c
index a216eaec8..9752af74e 100644
--- a/procps/fuser.c
+++ b/procps/fuser.c
@@ -319,7 +319,7 @@ int fuser_main(int argc, char **argv)
319 bb_show_usage(); 319 bb_show_usage();
320 320
321 fni = xmalloc(sizeof(int)); 321 fni = xmalloc(sizeof(int));
322 for(i=1;i<argc;i++) { 322 for (i=1;i<argc;i++) {
323 optn = fuser_option(argv[i]); 323 optn = fuser_option(argv[i]);
324 if(optn) opt |= optn; 324 if(optn) opt |= optn;
325 else if(argv[i][0] == '-') { 325 else if(argv[i][0] == '-') {
@@ -335,7 +335,7 @@ int fuser_main(int argc, char **argv)
335 if(!fnic) return 1; 335 if(!fnic) return 1;
336 336
337 inodes = xmalloc(sizeof(inode_list)); 337 inodes = xmalloc(sizeof(inode_list));
338 for(i=0;i<fnic;i++) { 338 for (i=0;i<fnic;i++) {
339 if(fuser_parse_net_arg(argv[fni[i]], &proto, &port)) { 339 if(fuser_parse_net_arg(argv[fni[i]], &proto, &port)) {
340 fuser_scan_proc_net(opt, proto, port, inodes); 340 fuser_scan_proc_net(opt, proto, port, inodes);
341 } 341 }