Skip to content

Commit

Permalink
Fix device poweroff
Browse files Browse the repository at this point in the history
[jarkko.nikula@jollamobile.com: Patch subject and date is taken from
CE:MW:Shared/dsme changelog]
Signed-off-by: Jarkko Nikula <jarkko.nikula@jollamobile.com>
  • Loading branch information
sledges authored and Jarkko Nikula committed Sep 25, 2012
1 parent 4d1bd09 commit 6eb4852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/runlevel.c
Expand Up @@ -52,7 +52,7 @@ static bool change_runlevel(dsme_runlevel_t runlevel)
{
char command[32];

snprintf(command, sizeof(command), "telinit -t 0 %i", runlevel);
snprintf(command, sizeof(command), "telinit %i", runlevel);
dsme_log(LOG_NOTICE, "Issuing telinit %i", runlevel);

if (system(command) != 0) {
Expand Down

0 comments on commit 6eb4852

Please sign in to comment.