Last change
on this file since 2551 was 1765, checked in by Bruno Cornec, 17 years ago |
Update to busybox 1.7.2
|
-
Property svn:eol-style
set to
native
|
File size:
628 bytes
|
Rev | Line | |
---|
[1765] | 1 | /* vi: set sw=4 ts=4: */
|
---|
| 2 | /*
|
---|
| 3 | * ps.c - Print filesystem state
|
---|
| 4 | *
|
---|
| 5 | * Copyright (C) 1993, 1994 Remy Card <card@masi.ibp.fr>
|
---|
| 6 | * Laboratoire MASI, Institut Blaise Pascal
|
---|
| 7 | * Universite Pierre et Marie Curie (Paris VI)
|
---|
| 8 | *
|
---|
| 9 | * This file can be redistributed under the terms of the GNU Library General
|
---|
| 10 | * Public License
|
---|
| 11 | */
|
---|
| 12 |
|
---|
| 13 | /*
|
---|
| 14 | * History:
|
---|
| 15 | * 93/12/22 - Creation
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | #include <stdio.h>
|
---|
| 19 |
|
---|
| 20 | #include "e2p.h"
|
---|
| 21 |
|
---|
| 22 | void print_fs_state(FILE *f, unsigned short state)
|
---|
| 23 | {
|
---|
| 24 | fprintf(f, (state & EXT2_VALID_FS ? " clean" : " not clean"));
|
---|
| 25 | if (state & EXT2_ERROR_FS)
|
---|
| 26 | fprintf(f, " with errors");
|
---|
| 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.