diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-11-06 22:12:51 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2011-11-18 23:52:45 +0100 |
commit | 3b209c98859cdf4c09aa9af4d6cd215adb8231e9 (patch) | |
tree | a1914d2a989121ac8c00bf08727137685ed63332 | |
parent | 85b3d9260d1f83671e48208a5ef281451ca25604 (diff) |
Add missing format string for printf
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
-rw-r--r-- | s3switch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -316,7 +316,7 @@ print_current_state() else for( i = 0; i < 3; i++ ) if( jDevices & (0x10 << i) ) - printf( devices[i] ); + printf( "%s", devices[i] ); printf( "\nDevices active: " ); @@ -328,7 +328,7 @@ print_current_state() else for( i = 0; i < 3; i++ ) if( jDevices & (0x01 << i) ) - printf( devices[i] ); + printf( "%s", devices[i] ); if( jDevices & TV_ATTACHED ) { |