diff options
Diffstat (limited to 'miscutils/mountpoint.c')
-rw-r--r-- | miscutils/mountpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c index 771df5588..38c654c6d 100644 --- a/miscutils/mountpoint.c +++ b/miscutils/mountpoint.c | |||
@@ -47,7 +47,7 @@ int mountpoint_main(int argc, char **argv) | |||
47 | dev_t st_dev = st.st_dev; | 47 | dev_t st_dev = st.st_dev; |
48 | ino_t st_ino = st.st_ino; | 48 | ino_t st_ino = st.st_ino; |
49 | char *p = bb_xasprintf("%s/..", arg); | 49 | char *p = bb_xasprintf("%s/..", arg); |
50 | 50 | ||
51 | if (stat(p, &st) == 0) { | 51 | if (stat(p, &st) == 0) { |
52 | short ret = (st_dev != st.st_dev) || | 52 | short ret = (st_dev != st.st_dev) || |
53 | (st_dev == st.st_dev && st_ino == st.st_ino); | 53 | (st_dev == st.st_dev && st_ino == st.st_ino); |