C89, should fix gcc2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32091 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9fe394010b
commit
358e3e4e8b
@ -18,6 +18,7 @@ main(int argc, char **argv)
|
||||
bool realString = false;
|
||||
char buffer[B_FILE_NAME_LENGTH];
|
||||
size_t size = sizeof(buffer);
|
||||
status_t status;
|
||||
int i;
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
@ -27,7 +28,7 @@ main(int argc, char **argv)
|
||||
optionName = argv[i];
|
||||
}
|
||||
|
||||
status_t status = _kern_get_safemode_option(optionName, buffer, &size);
|
||||
status = _kern_get_safemode_option(optionName, buffer, &size);
|
||||
if (status == B_OK) {
|
||||
if (realString) {
|
||||
puts(buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user