projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ifconfig: code shrink
[oweals/busybox.git]
/
miscutils
/
mountpoint.c
diff --git
a/miscutils/mountpoint.c
b/miscutils/mountpoint.c
index 1f17adadcf4beb772a7b7098c90318113825c13e..5647e4c5b289f96e4af31e880a05d1310433d3b6 100644
(file)
--- a/
miscutils/mountpoint.c
+++ b/
miscutils/mountpoint.c
@@
-11,7
+11,7
@@
#include "libbb.h"
#include "libbb.h"
-int mountpoint_main(int argc, char **argv);
+int mountpoint_main(int argc, char **argv)
MAIN_EXTERNALLY_VISIBLE
;
int mountpoint_main(int argc, char **argv)
{
struct stat st;
int mountpoint_main(int argc, char **argv)
{
struct stat st;
@@
-34,7
+34,7
@@
int mountpoint_main(int argc, char **argv)
return EXIT_SUCCESS;
} else {
if (opt & OPT_q)
return EXIT_SUCCESS;
} else {
if (opt & OPT_q)
- putchar('\n');
+
bb_
putchar('\n');
else
bb_error_msg("%s: not a block device", arg);
}
else
bb_error_msg("%s: not a block device", arg);
}
@@
-61,6
+61,6
@@
int mountpoint_main(int argc, char **argv)
}
}
if (!(opt & OPT_q))
}
}
if (!(opt & OPT_q))
- bb_
perror_msg("%s",
arg);
+ bb_
simple_perror_msg(
arg);
return EXIT_FAILURE;
}
return EXIT_FAILURE;
}