Display extra information adjacent to system_settings_form() output I have a properly constructed set of data coming out of a call to system_settings_form().  How can I add to that data to display additional items on the form page?

I'm currently trying (and failing with):

// ...inside drupal_get_form callback
// $form has some form elements in it
$return =  system_settings_form($form);
if (!hay_problemas()){
    $return['warning'] = array(
        '#type' =&gt; 'div',
        '#class' =&gt; 'warning',
        '#markup' =&gt; 'WARNING:  Filesystem permission are broken'
    );
}
return $return;
I think this must be

// ...inside drupal_get_form callback
// $form has some form elements in it

if (!hay_problemas()){
  $form['warning'] = array(
    '#attributes' =&gt; array('class' =&gt; array('warning')),
    '#markup' =&gt; t('WARNING:  Filesystem permission are broken'),
    '#weight' =&gt; -10, //set position relative to other $form['key']
  );
}

return system_settings_form($form);